update gradle 8.0.0

This commit is contained in:
Cuynu 2024-08-08 14:08:42 +07:00
commit 8eec459e70
22 changed files with 53 additions and 36 deletions

View file

@ -28,7 +28,7 @@ buildscript {
ext.wireVersion = '4.8.0'
ext.androidBuildGradleVersion = '7.4.2'
ext.androidBuildGradleVersion = '8.0.0'
ext.androidBuildVersionTools = '33.0.2'
ext.androidMinSdk = 23

View file

@ -17,8 +17,8 @@ android {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

View file

@ -1,3 +1,5 @@
android.useAndroidX=true
android.disableAutomaticComponentCreation=true
org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View file

@ -26,9 +26,13 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
buildFeatures {
aidl true
}
namespace 'org.microg.gms.api'
}
dependencies {

View file

@ -15,4 +15,4 @@
~ limitations under the License.
-->
<manifest package="org.microg.gms.api"/>
<manifest />

View file

@ -34,7 +34,11 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
buildFeatures {
aidl true
}
namespace 'org.microg.gms.base.api'
}

View file

@ -3,4 +3,4 @@
~ SPDX-FileCopyrightText: 2020, microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest package="org.microg.gms.base.api"/>
<manifest />

View file

@ -21,7 +21,6 @@ android {
buildToolsVersion androidBuildVersionTools
defaultConfig {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk
@ -33,7 +32,8 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
namespace 'org.microg.gms.base.core'
}

View file

@ -4,8 +4,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.microg.gms.base.core">
xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<provider

View file

@ -26,9 +26,10 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
namespace 'org.microg.gms.base'
}
dependencies {

View file

@ -15,8 +15,7 @@
~ limitations under the License.
-->
<manifest package="org.microg.gms.base"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<meta-data

View file

@ -44,6 +44,7 @@ android {
buildFeatures {
viewBinding = true
aidl true
}
sourceSets {
@ -51,7 +52,8 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
namespace 'org.microg.gms.basement'
}

View file

@ -15,4 +15,4 @@
~ limitations under the License.
-->
<manifest package="org.microg.gms.basement"/>
<manifest />

View file

@ -21,9 +21,9 @@ sourceSets {
}
compileKotlin {
kotlinOptions.jvmTarget = 1.8
kotlinOptions.jvmTarget = 17
}
compileTestKotlin {
kotlinOptions.jvmTarget = 1.8
kotlinOptions.jvmTarget = 17
}

View file

@ -109,8 +109,8 @@ android {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
packagingOptions {

View file

@ -28,14 +28,15 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
lintOptions {
// TODO: Remove MissingTranslation once we have stable strings and proper translations.
disable 'MissingTranslation', 'GetLocales'
}
namespace 'org.microg.tools.ui'
}
dependencies {

View file

@ -15,4 +15,4 @@
~ limitations under the License.
-->
<manifest package="org.microg.tools.ui" />
<manifest />

View file

@ -26,9 +26,13 @@ android {
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 17
targetCompatibility = 17
}
buildFeatures {
aidl true
}
namespace 'org.microg.gms.iid.api'
}
dependencies {

View file

@ -15,4 +15,4 @@
~ limitations under the License.
-->
<manifest package="org.microg.gms.iid.api"/>
<manifest />

Some files were not shown because too many files have changed in this diff Show more