diff --git a/build.gradle.kts b/build.gradle.kts index df24ba350..bc92e159b 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 457bddfed..dc95d8985 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