Skip to content

Commit

Permalink
Apk:优化 Gradle 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Aug 16, 2020
1 parent 84ec177 commit a81147a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions UnitAuto-Apk/UnitAuto-Apk.iml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,15 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/intermediate-jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaPrecompile" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/packaged-aidl" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/packaged_res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/public_res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
Expand Down
10 changes: 5 additions & 5 deletions UnitAuto-Apk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 29
buildToolsVersion '29.0.0'
defaultConfig {
minSdkVersion 21
minSdkVersion 26
targetSdkVersion 26
versionCode 1
versionName "1.0"
Expand All @@ -22,8 +23,7 @@ android {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/unitauto-1.0.jar')
compile 'com.alibaba:fastjson:1.2.61'
compile 'com.koushikdutta.async:androidasync:2.+'
api fileTree(include: ['*.jar'], dir: 'libs')
api 'com.alibaba:fastjson:1.2.61'
api 'com.koushikdutta.async:androidasync:2.+'
}

0 comments on commit a81147a

Please sign in to comment.