Skip to content

Commit

Permalink
update gradle wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed May 9, 2024
1 parent 6dd079d commit 13e4d67
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions buildSrc/src/main/kotlin/cozy-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,27 @@ tasks {

detekt {
buildUponDefaultConfig = true
config = rootProject.files("detekt.yml")
config.setFrom(rootProject.files("detekt.yml"))
}

// Credit to ZML for this workaround.
// https://github.com/CadixDev/licenser/issues/6#issuecomment-817048318
extensions.configure(LicenseExtension::class.java) {
exclude {
it.file.startsWith(buildDir)
it.file.startsWith(project.layout.buildDirectory.get().asFile)
}
}

sourceSets {
main {
java {
srcDir(file("$buildDir/generated/ksp/main/kotlin/"))
srcDir(file("${project.layout.buildDirectory.get().asFile.absolutePath}/generated/ksp/main/kotlin/"))
}
}

test {
java {
srcDir(file("$buildDir/generated/ksp/test/kotlin/"))
srcDir(file("${project.layout.buildDirectory.get().asFile.absolutePath}/generated/ksp/test/kotlin/"))
}
}
}
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.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
20 changes: 10 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down

0 comments on commit 13e4d67

Please sign in to comment.