Skip to content

Commit

Permalink
feat: migrate compileSdkVersion and targetSdkVersion to Android 12 (A…
Browse files Browse the repository at this point in the history
…ndroid S)
  • Loading branch information
CarterChen247 committed Feb 16, 2022
1 parent cee15b2 commit bac22e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
6 changes: 2 additions & 4 deletions alarmscheduler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ apply plugin: 'kotlin-kapt'
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"

android {
compileSdkVersion 29
compileSdkVersion 31

defaultConfig {
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
targetSdkVersion 31

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 29
compileSdkVersion 31

defaultConfig {
applicationId "com.carterchen247.alarmscheduler"
minSdkVersion 21
targetSdkVersion 29
targetSdkVersion 31
versionCode 1
versionName "1.0"

Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -22,7 +22,6 @@ allprojects {
repositories {
google()
jcenter()

}
}

Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Mar 07 18:44:50 CST 2020
#Tue Feb 15 22:53:24 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_HOME

0 comments on commit bac22e4

Please sign in to comment.