From 11e501a7c42c04db964387f4a57fab9516067ede Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 25 Dec 2024 15:31:37 +0100 Subject: [PATCH] Add dependency notice, unsupported gradle settings --- build.gradle.kts | 5 ++--- gradle.properties | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index df24ba3..bc92e15 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,9 +75,7 @@ allprojects { nyx { // Project information info { - name = this@allprojects.name group = "de.staropensource.engine" - module = this@allprojects.name version = buildString { append(property("versionRelease") as String) append("-") @@ -237,7 +235,7 @@ allprojects { dateFormatTimeZone = "UTC" } - // -> Add input + // -> Copy task tasks.register("copyGitProperties") { dependsOn(tasks.generateGitProperties) inputs.file("${this@allprojects.projectDir}/build/resources/main/git.properties") @@ -258,6 +256,7 @@ allprojects { } // Gradle properties + // -> Copy task tasks.register("copyGradleProperties") { inputs.file("${rootProject.projectDir.path}/gradle.properties") diff --git a/gradle.properties b/gradle.properties index 457bddf..dc95d89 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,12 +17,26 @@ # along with this program. If not, see . # +### IMPORTANT NOTICE +### We handle dependencies in here instead +### of using version catalogs as the engine +### has the ability to read, provide and +### compare dependency information. Using +### version catalogs would require us to +### depend on a parser just for extracting +### information about dependencies. This +### is not a bug, it's an actual feature. + # Gradle properties org.gradle.caching=true org.gradle.configureondemand=true org.gradle.jvmargs=-Xmx1G -Xms1G -XX:MaxMetaspaceSize=512M -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.priority=normal +# -> Unsupported +# We will at some point in the future +org.gradle.configuration-cache=false +org.gradle.unsafe.isolated-projects=false # Versioning versionCodename=Versneld