diff --git a/arch-clean/build.gradle b/arch-clean/build.gradle index 9efc12c..658d82b 100644 --- a/arch-clean/build.gradle +++ b/arch-clean/build.gradle @@ -3,13 +3,17 @@ plugins { id 'kotlin-android' } +apply plugin: 'com.github.dcendents.android-maven' + +group = 'me.yifeiyuan' + android { - compileSdkVersion 33 - buildToolsVersion "33.0.0" + compileSdkVersion 30 + buildToolsVersion "30.0.3" defaultConfig { - minSdkVersion 17 - targetSdkVersion 33 + minSdkVersion 21 + targetSdkVersion 30 versionCode 1 versionName "1.0" @@ -30,15 +34,20 @@ android { kotlinOptions { jvmTarget = '1.8' } + + lintOptions { + checkReleaseBuilds false + abortOnError false + } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'com.google.android.material:material:1.7.0' - testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.4' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.4.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } \ No newline at end of file diff --git a/arch-func/build.gradle b/arch-func/build.gradle index 7f3c3d0..33a0b6e 100644 --- a/arch-func/build.gradle +++ b/arch-func/build.gradle @@ -3,6 +3,8 @@ plugins { id 'kotlin-android' } +apply plugin: 'com.github.dcendents.android-maven' + android { compileSdkVersion 30 buildToolsVersion "30.0.3" diff --git a/arch-mvi/build.gradle b/arch-mvi/build.gradle index 78ed20e..9ffab6c 100644 --- a/arch-mvi/build.gradle +++ b/arch-mvi/build.gradle @@ -3,6 +3,8 @@ plugins { id 'kotlin-android' } +apply plugin: 'com.github.dcendents.android-maven' + android { compileSdkVersion 30 buildToolsVersion "30.0.3" @@ -30,15 +32,20 @@ android { kotlinOptions { jvmTarget = '1.8' } + + lintOptions { + checkReleaseBuilds false + abortOnError false + } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'com.google.android.material:material:1.7.0' - testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.4' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.4.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } \ No newline at end of file diff --git a/arch-mvvm/build.gradle b/arch-mvvm/build.gradle index 5c914c9..9ffab6c 100644 --- a/arch-mvvm/build.gradle +++ b/arch-mvvm/build.gradle @@ -3,13 +3,15 @@ plugins { id 'kotlin-android' } +apply plugin: 'com.github.dcendents.android-maven' + android { - compileSdkVersion 32 - buildToolsVersion "33.0.0" + compileSdkVersion 30 + buildToolsVersion "30.0.3" defaultConfig { - minSdkVersion 17 - targetSdkVersion 32 + minSdkVersion 21 + targetSdkVersion 30 versionCode 1 versionName "1.0" @@ -30,15 +32,20 @@ android { kotlinOptions { jvmTarget = '1.8' } + + lintOptions { + checkReleaseBuilds false + abortOnError false + } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'com.google.android.material:material:1.7.0' - testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.4' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.4.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } \ No newline at end of file diff --git a/multistatelayout/build.gradle b/multistatelayout/build.gradle index 78ed20e..fa06d76 100644 --- a/multistatelayout/build.gradle +++ b/multistatelayout/build.gradle @@ -2,6 +2,7 @@ plugins { id 'com.android.library' id 'kotlin-android' } +apply plugin: 'com.github.dcendents.android-maven' android { compileSdkVersion 30 @@ -35,10 +36,10 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.9.0' - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'com.google.android.material:material:1.7.0' - testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.4' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.4.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } \ No newline at end of file