Skip to content

Commit 71dd4e3

Browse files
Merge pull request #48 from Omega-R/develop
Upgrade build tools
2 parents 9e1042e + 34d68f2 commit 71dd4e3

File tree

16 files changed

+77
-41
lines changed

16 files changed

+77
-41
lines changed

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
compileSdkVersion rootProject.ext.compileSdkVersion
66
defaultConfig {
77
applicationId "omega_r.com.omegatypesexample"
8-
minSdkVersion 14
8+
minSdkVersion 21
99
targetSdkVersion rootProject.ext.targetSdkVersion
1010
versionCode 1
1111
versionName "1.0"
@@ -17,20 +17,29 @@ android {
1717
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1818
}
1919
}
20+
namespace 'omega_r.com.omegatypesexample'
21+
22+
compileOptions {
23+
sourceCompatibility JavaVersion.VERSION_17
24+
targetCompatibility JavaVersion.VERSION_17
25+
}
26+
2027
}
2128

29+
30+
2231
dependencies {
2332
implementation fileTree(dir: 'libs', include: ['*.jar'])
2433
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
2534
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinCorutines_version}"
2635
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${kotlinCorutines_version}"
2736

28-
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
37+
implementation 'androidx.appcompat:appcompat:1.6.0'
2938

3039
api project(':omegatypes')
3140
api project(':glide')
3241

33-
testImplementation 'junit:junit:4.12'
34-
androidTestImplementation 'androidx.test:runner:1.1.1'
35-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
42+
testImplementation 'junit:junit:4.13.2'
43+
androidTestImplementation 'androidx.test:runner:1.6.1'
44+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
3645
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="omega_r.com.omegatypesexample">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET"/>
65

@@ -12,7 +11,7 @@
1211
android:roundIcon="@mipmap/ic_launcher_round"
1312
android:supportsRtl="true"
1413
android:theme="@style/AppTheme">
15-
<activity android:name=".MainActivity">
14+
<activity android:name=".MainActivity" android:exported="true">
1615
<intent-filter>
1716
<action android:name="android.intent.action.MAIN" />
1817

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.9.20'
5-
ext.kotlinCorutines_version = '1.2.1'
4+
ext.kotlin_version = '1.9.0'
5+
ext.kotlinCorutines_version = '1.8.1'
66
ext.supportVersion = '28.0.0'
7-
ext.compileSdkVersion = 28
8-
ext.targetSdkVersion = 28
7+
ext.compileSdkVersion = 34
8+
ext.targetSdkVersion = 34
99

1010
repositories {
1111
google()
1212
mavenCentral()
1313
}
1414
dependencies {
15-
classpath 'com.android.tools.build:gradle:7.4.2'
16-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20"
15+
classpath 'com.android.tools.build:gradle:8.5.1'
16+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
1717
// NOTE: Do not place your application dependencies here; they belong
1818
// in the individual module build.gradle files
1919
}

glide/build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,9 @@ publishing {
1919
android {
2020
compileSdkVersion 34
2121

22-
23-
2422
defaultConfig {
25-
minSdkVersion 14
23+
minSdkVersion 21
2624
targetSdkVersion 34
27-
versionCode 1
28-
versionName "1.0"
2925

3026
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
3127

@@ -37,15 +33,23 @@ android {
3733
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
3834
}
3935
}
36+
namespace 'com.omega_r.libs.omegatypes.glide'
37+
38+
39+
compileOptions {
40+
targetCompatibility JavaVersion.VERSION_17
41+
sourceCompatibility JavaVersion.VERSION_17
42+
}
4043

4144
}
4245

46+
4347
dependencies {
4448
implementation project(':omegatypes')
4549

4650
implementation fileTree(dir: 'libs', include: ['*.jar'])
4751

48-
api ("com.github.bumptech.glide:glide:4.14.2") {
52+
api ("com.github.bumptech.glide:glide:4.15.1") {
4953
exclude group: "com.android.support"
5054
}
5155

glide/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.omega_r.libs.omegatypes.glide"/>
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />

googledrive/build.gradle

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ android {
99

1010

1111
defaultConfig {
12-
minSdkVersion 14
12+
minSdkVersion 21
1313
targetSdkVersion 34
14-
versionCode 1
15-
versionName "1.0"
1614

1715
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1816

@@ -24,6 +22,15 @@ android {
2422
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2523
}
2624
}
25+
namespace 'com.omega_r.libs.omegatypes.glide'
26+
compileOptions {
27+
sourceCompatibility JavaVersion.VERSION_17
28+
targetCompatibility JavaVersion.VERSION_17
29+
}
30+
31+
packagingOptions {
32+
pickFirst 'META-INF/*'
33+
}
2734

2835
}
2936

@@ -33,7 +40,7 @@ dependencies {
3340
implementation fileTree(dir: 'libs', include: ['*.jar'])
3441

3542
// Drive
36-
api('com.google.apis:google-api-services-drive:v3-rev136-1.25.0') {
43+
api('com.google.apis:google-api-services-drive:v3-rev197-1.25.0') {
3744
exclude group: 'org.apache.httpcomponents'
3845
}
3946
api 'com.google.http-client:google-http-client-gson:1.31.0'
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.omega_r.libs.omegatypes.glide"/>
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ org.gradle.jvmargs=-Xmx1536m
1313
# This option should only be used with decoupled projects. More details, visit
1414
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1515
# org.gradle.parallel=true
16+
android.defaults.buildfeatures.buildconfig=true
17+
android.nonTransitiveRClass=false
18+
android.nonFinalResIds=false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Aug 08 15:02:53 MSK 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)