Upgrade gradle

This commit is contained in:
LoveSy 2023-07-10 21:46:42 +08:00
parent 6986343d4d
commit 7fe84388e4
6 changed files with 12 additions and 12 deletions

View File

@ -80,10 +80,10 @@ android {
} }
autoResConfig { autoResConfig {
generateClass.set(true) generateClass = true
generateRes.set(false) generateRes = false
generatedClassFullName.set("org.lsposed.manager.util.LangList") generatedClassFullName = "org.lsposed.manager.util.LangList"
generatedArrayFirstItem.set("SYSTEM") generatedArrayFirstItem = "SYSTEM"
} }
materialThemeBuilder { materialThemeBuilder {

Binary file not shown.

View File

@ -1,7 +1,6 @@
#Sun May 21 15:38:01 CST 2023
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

7
gradlew vendored
View File

@ -85,9 +85,6 @@ done
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum
@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done done
fi fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command; # Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in # shell script including quotes and variable substitutions, so put them in

View File

@ -233,8 +233,8 @@ fun afterEval() = android.applicationVariants.forEach { variant ->
val zipTask = task<Zip>("zip${variantCapped}") { val zipTask = task<Zip>("zip${variantCapped}") {
group = "LSPosed" group = "LSPosed"
dependsOn(prepareMagiskFilesTask) dependsOn(prepareMagiskFilesTask)
archiveFileName.set(zipFileName) archiveFileName = zipFileName
destinationDirectory.set(file("$projectDir/release")) destinationDirectory = file("$projectDir/release")
from(magiskDir) from(magiskDir)
} }

View File

@ -9,7 +9,7 @@ pluginManagement {
} }
dependencyResolutionManagement { dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories { repositories {
google() google()
mavenCentral() mavenCentral()