Skip to content

Commit

Permalink
update build.gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamsiree committed Mar 17, 2020
1 parent 242ab8c commit 01debdd
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 21 deletions.
2 changes: 1 addition & 1 deletion RxArcGisKit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'


Expand Down Expand Up @@ -40,5 +41,4 @@ dependencies {
compileOnly 'com.esri.arcgisruntime:arcgis-android:100.3.0'
compileOnly project(':RxKit')
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
2 changes: 1 addition & 1 deletion RxCamera/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'

android {
Expand Down Expand Up @@ -47,6 +48,5 @@ dependencies {
compileOnly 'io.reactivex.rxjava2:rxjava:2.2.14'
compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1'
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

11 changes: 1 addition & 10 deletions RxDemo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
//apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'kotlin-android-extensions'

android {
Expand Down Expand Up @@ -55,13 +54,6 @@ dependencies {
implementation project(':RxFeature')
implementation project(':RxArcGisKit')


//cardView包
//appcompat包
//recyclerview包
//流式布局
//动画向下版本兼容 nineold包
//noinspection GradleCompatible
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
Expand All @@ -74,7 +66,7 @@ dependencies {
implementation 'com.nineoldandroids:library:2.4.0'

implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
kapt 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'jp.wasabeef:glide-transformations:3.3.0'
// If you want to use the GPU Filters
implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
Expand All @@ -101,5 +93,4 @@ dependencies {
configurations.all {
exclude group: 'com.android.support', module: 'support-v13'
}
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
4 changes: 2 additions & 2 deletions RxFeature/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'

android {
Expand Down Expand Up @@ -43,7 +44,6 @@ dependencies {
implementation 'com.google.zxing:core:3.3.0'
compileOnly project(':RxKit')
compileOnly project(':RxUI')
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"


}
2 changes: 1 addition & 1 deletion RxKit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.greenrobot.greendao'

Expand Down Expand Up @@ -66,7 +67,6 @@ dependencies {

compileOnly 'org.greenrobot:greendao:3.2.2'
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

}

2 changes: 1 addition & 1 deletion RxPay/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'

android {
Expand Down Expand Up @@ -47,7 +48,6 @@ dependencies {
compileOnly project(':RxKit')
compileOnly project(':RxUI')
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

}

4 changes: 2 additions & 2 deletions RxUI/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' //kapt3插件
apply plugin: 'kotlin-android-extensions'

android {
Expand Down Expand Up @@ -40,8 +41,7 @@ dependencies {
compileOnly project(':RxKit')

compileOnly 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
kapt 'com.github.bumptech.glide:compiler:4.7.1'
// implementation "androidx.core:core-ktx:1.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

android.useAndroidX=true
android.enableJetifier=true
android.enableJetifier=true
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
android.useAndroidX=true

0 comments on commit 01debdd

Please sign in to comment.