gridclient/commonmodule/build.gradle

60 lines
2.2 KiB
Groovy
Raw Normal View History

2022-03-25 15:24:43 +08:00
if (!IsModuleDev.toBoolean()) {
apply plugin: 'com.android.application'
} else {
apply plugin: 'com.android.library'
}
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'android-aspectjx'
2022-10-26 21:28:22 +08:00
apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'kotlin-android'
2022-03-25 15:24:43 +08:00
android {
buildToolsVersion rootProject.ext.gBuildToolsVersion
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.gMinSdkVersion
targetSdkVersion rootProject.ext.gCompileSdkVersion
versionCode rootProject.ext.gVersionCode
versionName rootProject.ext.gVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2023-11-08 17:59:13 +08:00
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
2022-03-25 15:24:43 +08:00
}
dependencies {
2023-11-08 17:59:13 +08:00
api fileTree(include: ['*.jar'], dir: 'libs')
2022-03-25 15:24:43 +08:00
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.2.1'
implementation project(':baselib')
2022-10-26 21:28:22 +08:00
implementation project(':calendarview')
2023-11-08 17:59:13 +08:00
implementation project(':modulemap')
2022-03-25 15:24:43 +08:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'//地图
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//Gson
implementation "com.google.code.gson:gson:$rootProject.ext.gGsonVersion"
//okhttp3
implementation "com.squareup.okhttp3:okhttp:$rootProject.ext.gOkHttp3Version"
//Arouter
annotationProcessor "com.alibaba:arouter-compiler:$rootProject.ext.gRouterCompileVersion"
//butterknife
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.ext.gButterKnifeVersion"
}