1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-24 03:52:36 +01:00

Upgrade to Gradle 8.0

This commit is contained in:
Stypox 2023-04-20 10:24:19 +02:00
parent 6243f34946
commit 70b3ba310a
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
4 changed files with 11 additions and 7 deletions

View File

@ -98,10 +98,11 @@ android {
} }
packagingOptions { packagingOptions {
// remove two files which belong to jsoup resources {
// no idea how they ended up in the META-INF dir... // remove two files which belong to jsoup
exclude 'META-INF/README.md' // no idea how they ended up in the META-INF dir...
exclude 'META-INF/CHANGES' excludes += ['META-INF/README.md', 'META-INF/CHANGES']
}
} }
} }

View File

@ -7,7 +7,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.4.0' classpath 'com.android.tools.build:gradle:8.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

View File

@ -1,4 +1,7 @@
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=false android.enableJetifier=false
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true android.useAndroidX=true
org.gradle.jvmargs=-Xmx2048M org.gradle.jvmargs=-Xmx2048M
systemProp.file.encoding=utf-8 systemProp.file.encoding=utf-8

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionSha256Sum=f6b8596b10cce501591e92f229816aa4046424f3b24d771751b06779d58c8ec4 distributionSha256Sum=4159b938ec734a8388ce03f52aa8f3c7ed0d31f5438622545de4f83a89b79788
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists