diff --git a/build.gradle b/build.gradle index 9478026..78d28a3 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.1' + classpath 'com.android.tools.build:gradle:4.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' } @@ -18,7 +18,7 @@ buildscript { ext { versions = [ - compileSdk: 28, + compileSdk: 30, minSdk : 19 ] } diff --git a/samples/app/build.gradle b/samples/app/build.gradle index 86b57ff..36df361 100644 --- a/samples/app/build.gradle +++ b/samples/app/build.gradle @@ -12,11 +12,11 @@ android { } } - compileSdkVersion 29 + compileSdkVersion versions.compileSdk defaultConfig { applicationId "nolambda.linkrouter.samples" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion versions.compileSdk versionCode 1 versionName "1.0" diff --git a/samples/app/src/main/java/nolambda/linkrouter/examples/SampleApp.kt b/samples/app/src/main/java/nolambda/linkrouter/examples/SampleApp.kt index debceca..78c36ee 100644 --- a/samples/app/src/main/java/nolambda/linkrouter/examples/SampleApp.kt +++ b/samples/app/src/main/java/nolambda/linkrouter/examples/SampleApp.kt @@ -3,8 +3,6 @@ package nolambda.linkrouter.examples import android.app.Application import android.util.Log import nolambda.linkrouter.android.RouterPlugin -import nolambda.linkrouter.approuter.AppRouter -import nolambda.linkrouter.approuter.AppRoutes class SampleApp : Application() { override fun onCreate() { diff --git a/samples/approuter/build.gradle b/samples/approuter/build.gradle index 89a7e82..3d6bcba 100644 --- a/samples/approuter/build.gradle +++ b/samples/approuter/build.gradle @@ -2,13 +2,11 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" - + compileSdkVersion versions.compileSdk defaultConfig { minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion versions.compileSdk versionCode 1 versionName "1.0" diff --git a/samples/cart/build.gradle b/samples/cart/build.gradle index 8e6f52b..25994db 100644 --- a/samples/cart/build.gradle +++ b/samples/cart/build.gradle @@ -2,13 +2,11 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" - + compileSdkVersion versions.compileSdk defaultConfig { minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion versions.compileSdk versionCode 1 versionName "1.0" diff --git a/samples/product/build.gradle b/samples/product/build.gradle index a14f365..7a3b561 100644 --- a/samples/product/build.gradle +++ b/samples/product/build.gradle @@ -4,13 +4,11 @@ apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" - + compileSdkVersion versions.compileSdk defaultConfig { minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion versions.compileSdk versionCode 1 versionName "1.0"