Skip to content

Commit

Permalink
Update to gradle 8.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed May 2, 2023
1 parent 332b855 commit 94470ed
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
18 changes: 10 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,22 @@ android {
}
}

androidResources { additionalParameters("--allow-reserved-package-id", "--package-id", "0x45") }
androidResources {
additionalParameters += listOf("--allow-reserved-package-id", "--package-id", "0x45")
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_18
targetCompatibility = JavaVersion.VERSION_18
}

lintOptions {
disable(
"Internationalization",
"UnsafeIntentLaunch",
"UnspecifiedRegisterReceiverFlag",
"VectorPath",
"Usability:Icons")
lint {
disable +=
listOf(
"Internationalization",
"UnsafeIntentLaunch",
"UnspecifiedRegisterReceiverFlag",
"Usability:Icons")
}

kotlinOptions { jvmTarget = JavaVersion.VERSION_18.toString() }
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import com.ncorti.ktfmt.gradle.tasks.KtfmtFormatTask

plugins {
id("com.android.application") version "8.1.0-alpha11" apply false
id("com.android.library") version "8.1.0-alpha11" apply false
id("com.android.application") version "8.2.0-alpha01" apply false
id("com.android.library") version "8.2.0-alpha01" apply false
id("org.jetbrains.kotlin.android") version "1.8.21" apply false
id("com.ncorti.ktfmt.gradle") version "0.12.0"
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 4 additions & 3 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ done
APP_BASE_NAME=${0##*/}
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.
MAX_FD=maximum

Expand Down Expand Up @@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done
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;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
Expand Down

0 comments on commit 94470ed

Please sign in to comment.