Configure group/name/version through gradle.properties

This commit is contained in:
Edwin Jakobs
2025-09-15 12:16:25 +02:00
parent 3144067340
commit a0b7df5585
3 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
group = "org.openrndr.template" group = property("project.group") ?: error("project.group not set")
version = "1.0.0" version = property("project.version") ?: error("project.version not set")
plugins { plugins {
alias(libs.plugins.kotlin.serialization) alias(libs.plugins.kotlin.serialization)

View File

@@ -1,5 +1,8 @@
openrndr.tasks=true project.name=openrndr-template
project.group=org.openrndr
project.version=1.0.0
applicationMainClass=TemplateProgramKt applicationMainClass=TemplateProgramKt
openrndr.tasks=true
kotlin.code.style=official kotlin.code.style=official
#org.gradle.configuration-cache=true #org.gradle.configuration-cache=true
#org.gradle.configuration-cache.parallel=true #org.gradle.configuration-cache.parallel=true

View File

@@ -1,4 +1,4 @@
rootProject.name = "openrndr-template" rootProject.name = extra["project.name"]?.toString() ?: error("project.name not set")
pluginManagement { pluginManagement {
repositories { repositories {