|
1 | 1 | plugins { |
2 | 2 | id 'com.android.application' |
3 | | - id 'org.jetbrains.kotlin.android' |
4 | 3 | } |
5 | 4 |
|
6 | 5 | android { |
7 | | - namespace 'com.aspose.barcode.cloud.demo_app' |
8 | | - compileSdk 33 |
| 6 | + namespace = 'com.aspose.barcode.cloud.demo_app' |
| 7 | + compileSdk = 36 |
9 | 8 |
|
10 | 9 | defaultConfig { |
11 | | - applicationId "com.aspose.barcode.cloud.demo_app" |
12 | | - minSdk 23 |
13 | | - targetSdk 33 |
14 | | - versionCode 1 |
15 | | - versionName "1.0" |
| 10 | + applicationId = "com.aspose.barcode.cloud.demo_app" |
| 11 | + minSdk = 23 |
| 12 | + targetSdk = 36 |
| 13 | + versionCode = 1 |
| 14 | + versionName = "1.0" |
16 | 15 |
|
17 | | - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 16 | + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
18 | 17 | } |
19 | 18 |
|
20 | 19 | buildTypes { |
21 | 20 | release { |
22 | | - minifyEnabled false |
| 21 | + minifyEnabled = false |
23 | 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
24 | 23 | } |
25 | 24 | } |
| 25 | + |
26 | 26 | compileOptions { |
27 | | - sourceCompatibility JavaVersion.VERSION_1_8 |
28 | | - targetCompatibility JavaVersion.VERSION_1_8 |
| 27 | + sourceCompatibility = JavaVersion.VERSION_17 |
| 28 | + targetCompatibility = JavaVersion.VERSION_17 |
29 | 29 | } |
30 | | - kotlinOptions { |
31 | | - jvmTarget = '1.8' |
32 | | -} |
| 30 | + |
33 | 31 | buildFeatures { |
34 | | - viewBinding true |
| 32 | + buildConfig = true |
| 33 | + viewBinding = true |
35 | 34 | } |
36 | 35 | } |
37 | 36 |
|
38 | 37 | dependencies { |
39 | | -implementation fileTree(dir: "libs", include: ["*.jar"]) |
40 | | - implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" |
41 | | - implementation 'androidx.core:core-ktx:1.9.0' |
42 | | - implementation 'androidx.appcompat:appcompat:1.6.0' |
43 | | - implementation 'androidx.constraintlayout:constraintlayout:2.1.4' |
44 | | - implementation 'com.aspose:aspose-barcode-cloud:26.2.0' |
45 | | - implementation 'com.google.android.material:material:1.8.0' |
46 | | - androidTestImplementation 'androidx.test.ext:junit:1.1.5' |
47 | | - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' |
| 38 | + implementation 'androidx.core:core-ktx:1.18.0' |
| 39 | + implementation 'androidx.appcompat:appcompat:1.7.1' |
| 40 | + implementation 'androidx.constraintlayout:constraintlayout:2.2.1' |
| 41 | + implementation 'com.aspose:aspose-barcode-cloud:26.3.2' |
| 42 | + implementation 'com.google.android.material:material:1.13.0' |
48 | 43 | testImplementation 'junit:junit:4.13.2' |
49 | | - androidTestImplementation 'androidx.test.ext:junit:1.1.5' |
50 | | - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' |
| 44 | + androidTestImplementation 'androidx.test.ext:junit:1.3.0' |
| 45 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' |
51 | 46 | } |
0 commit comments