course/app/build.gradle

56 lines
1.8 KiB
Groovy
Raw Permalink Normal View History

2020-09-08 17:51:14 +08:00
apply plugin: 'com.android.application'
2021-04-23 16:43:49 +08:00
2020-09-08 17:51:14 +08:00
android {
buildToolsVersion rootProject.ext.gBuildToolsVersion
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
applicationId "com.tengshisoft.course"
minSdkVersion rootProject.ext.gMinSdkVersion
targetSdkVersion rootProject.ext.gCompileSdkVersion
versionCode rootProject.ext.gVersionCode
versionName rootProject.ext.gVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
2021-04-09 13:49:59 +08:00
sourceSets {
main {
jniLibs.srcDir 'libs'
}
}
2020-09-08 17:51:14 +08:00
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2021-04-23 16:43:49 +08:00
2020-09-08 17:51:14 +08:00
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
2021-04-23 16:43:49 +08:00
2021-04-09 13:49:59 +08:00
//腾讯X5WebView
2021-04-23 16:43:49 +08:00
if (IsModuleDev.toBoolean()) {
implementation project(':exam')//主模块
}
2020-09-08 17:51:14 +08:00
}