11ext {
22 junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
3- androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.4.2 '
4- androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.1.3 '
5- androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.4.0 '
3+ androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.6.1 '
4+ androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.1.5 '
5+ androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.5.1 '
66}
77
88buildscript {
@@ -11,17 +11,18 @@ buildscript {
1111 mavenCentral()
1212 }
1313 dependencies {
14- classpath ' com.android.tools.build:gradle:7.2.1 '
14+ classpath ' com.android.tools.build:gradle:8.0.0 '
1515 }
1616}
1717
1818apply plugin : ' com.android.library'
1919
2020android {
21- compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 32
21+ namespace " com.mycompany.plugins.example"
22+ compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 33
2223 defaultConfig {
2324 minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 22
24- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 32
25+ targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 33
2526 versionCode 1
2627 versionName " 1.0"
2728 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -36,8 +37,8 @@ android {
3637 abortOnError false
3738 }
3839 compileOptions {
39- sourceCompatibility JavaVersion . VERSION_11
40- targetCompatibility JavaVersion . VERSION_11
40+ sourceCompatibility JavaVersion . VERSION_17
41+ targetCompatibility JavaVersion . VERSION_17
4142 }
4243}
4344
0 commit comments