You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
4.3 KiB
126 lines
4.3 KiB
plugins { |
|
id 'com.android.application' |
|
} |
|
|
|
android { |
|
compileSdkVersion 28 |
|
|
|
defaultConfig { |
|
applicationId "com.cst.im30" |
|
minSdkVersion 22 |
|
//noinspection ExpiredTargetSdkVersion |
|
targetSdkVersion 28 |
|
versionCode 1 |
|
versionName "1.0.0" |
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
|
// Echo Socket |
|
buildConfigField("String", "SERVER_URL", SERVER_URL) |
|
buildConfigField("String", "CLIENT_ID", CLIENT_ID) |
|
buildConfigField("String", "CLIENT_SECRET", CLIENT_SECRET) |
|
buildConfigField("String", "ECHO_SERVER_URL", ECHO_SERVER_URL) |
|
buildConfigField("String", "ECHO_SERVER_PORT", ECHO_SERVER_PORT) |
|
buildConfigField("String", "KIOSK_CODE", KIOSK_CODE) |
|
buildConfigField("String", "SOCKET_PREFIX", SOCKET_PREFIX) |
|
buildConfigField("String", "PAYMENT_CHANNEL_ID", PAYMENT_CHANNEL_ID) |
|
buildConfigField("String", "PAYMENT_EVENT_TYPE", PAYMENT_EVENT_TYPE) |
|
buildConfigField("String", "IC_CHANNEL_ID", IC_CHANNEL_ID) |
|
buildConfigField("String", "IC_EVENT_TYPE", IC_EVENT_TYPE) |
|
|
|
// Bugfender |
|
buildConfigField("String", "BUGFENDER_TOKEN", BUGFENDER_TOKEN) |
|
|
|
// AWS |
|
buildConfigField("String", "AWS_ACCESS_KEY", AWS_ACCESS_KEY) |
|
buildConfigField("String", "AWS_SECRET_KEY", AWS_SECRET_KEY) |
|
buildConfigField("String", "LOG_GROUP_NAME", LOG_GROUP_NAME) |
|
} |
|
|
|
buildTypes { |
|
release { |
|
minifyEnabled false |
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
|
} |
|
} |
|
|
|
flavorDimensions "deployment" |
|
productFlavors { |
|
build { |
|
dimension "deployment" |
|
} |
|
staging { |
|
dimension "deployment" |
|
} |
|
live { |
|
dimension "deployment" |
|
} |
|
} |
|
|
|
compileOptions { |
|
sourceCompatibility JavaVersion.VERSION_1_8 |
|
targetCompatibility JavaVersion.VERSION_1_8 |
|
} |
|
} |
|
|
|
dependencies { |
|
implementation fileTree(dir: 'libs', include: ['*.jar']) |
|
implementation files('libs/NeptuneLiteApi_V3.00.00_20180717.jar') |
|
|
|
//noinspection GradleDependency |
|
implementation 'androidx.appcompat:appcompat:1.3.1' |
|
//noinspection GradleDependency |
|
implementation 'com.google.android.material:material:1.4.0' |
|
//noinspection GradleDependency |
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' |
|
|
|
//noinspection GradleDynamicVersion |
|
testImplementation 'junit:junit:4.+' |
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3' |
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' |
|
|
|
// For Laravel Echo |
|
implementation 'com.github.MrBin99:LaravelEchoAndroid:1.03' |
|
|
|
//noinspection AnnotationProcessorOnCompilePath |
|
implementation 'org.projectlombok:lombok:1.18.22' |
|
annotationProcessor "org.projectlombok:lombok:1.18.22" |
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0' |
|
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' |
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0' |
|
|
|
//noinspection GradleDependency |
|
implementation "androidx.room:room-runtime:2.3.0" |
|
//noinspection GradleDependency |
|
annotationProcessor "androidx.room:room-compiler:2.3.0" |
|
|
|
implementation 'com.github.bumptech.glide:glide:4.9.0' |
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' |
|
|
|
//for slider |
|
implementation 'com.daimajia.slider:library:1.1.5@aar' |
|
implementation 'com.nineoldandroids:library:2.4.0' |
|
implementation 'com.squareup.picasso:picasso:2.5.2' |
|
|
|
implementation 'com.loopj.android:android-async-http:1.4.9' |
|
implementation 'com.nex3z:flow-layout:1.2.4' |
|
//noinspection GradleDynamicVersion |
|
implementation 'com.android.support:recyclerview-v7:+' |
|
//noinspection GradleDependency |
|
implementation 'com.google.code.gson:gson:2.8.5' |
|
//noinspection GradleDynamicVersion |
|
implementation 'me.grantland:autofittextview:0.2.+' |
|
|
|
implementation 'com.jakewharton:process-phoenix:2.1.2' |
|
|
|
// AWS |
|
implementation "com.amazonaws:aws-android-sdk-logs:2.44.0" |
|
|
|
// Bugfender |
|
//noinspection GradleDynamicVersion |
|
implementation 'com.bugfender.sdk:android:3.+' |
|
|
|
debugImplementation 'com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:v1.0.6' |
|
|
|
} |