Skip to content

Commit 5a3d8c1

Browse files
Release 26.3 (#61)
* Release 26.3 * Update Android build --------- Co-authored-by: Denis Averin <denis.averin@aspose.com>
1 parent def2bac commit 5a3d8c1

8 files changed

Lines changed: 99 additions & 161 deletions

File tree

app/build.gradle

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,46 @@
11
plugins {
22
id 'com.android.application'
3-
id 'org.jetbrains.kotlin.android'
43
}
54

65
android {
7-
namespace 'com.aspose.barcode.cloud.demo_app'
8-
compileSdk 33
6+
namespace = 'com.aspose.barcode.cloud.demo_app'
7+
compileSdk = 36
98

109
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"
1615

17-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1817
}
1918

2019
buildTypes {
2120
release {
22-
minifyEnabled false
21+
minifyEnabled = false
2322
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2423
}
2524
}
25+
2626
compileOptions {
27-
sourceCompatibility JavaVersion.VERSION_1_8
28-
targetCompatibility JavaVersion.VERSION_1_8
27+
sourceCompatibility = JavaVersion.VERSION_17
28+
targetCompatibility = JavaVersion.VERSION_17
2929
}
30-
kotlinOptions {
31-
jvmTarget = '1.8'
32-
}
30+
3331
buildFeatures {
34-
viewBinding true
32+
buildConfig = true
33+
viewBinding = true
3534
}
3635
}
3736

3837
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'
4843
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'
5146
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-permission android:name="android.permission.INTERNET" />
5-
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
6-
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
7-
android:maxSdkVersion="32" />
85

96
<queries>
10-
<!-- Camera -->
117
<intent>
128
<action android:name="android.media.action.IMAGE_CAPTURE" />
139
</intent>
14-
15-
<!-- Gallery -->
16-
<intent>
17-
<action android:name="android.intent.action.GET_CONTENT" />
18-
</intent>
1910
</queries>
2011

2112
<application
@@ -26,7 +17,8 @@
2617
android:roundIcon="@mipmap/ic_launcher_round"
2718
android:supportsRtl="true"
2819
android:theme="@style/AppTheme">
29-
<activity android:name=".MainActivity"
20+
<activity
21+
android:name=".MainActivity"
3022
android:exported="true">
3123
<intent-filter>
3224
<action android:name="android.intent.action.MAIN" />

0 commit comments

Comments
 (0)