Configure group/name/version through gradle.properties
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
group = "org.openrndr.template"
|
||||
version = "1.0.0"
|
||||
group = property("project.group") ?: error("project.group not set")
|
||||
version = property("project.version") ?: error("project.version not set")
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
openrndr.tasks=true
|
||||
project.name=openrndr-template
|
||||
project.group=org.openrndr
|
||||
project.version=1.0.0
|
||||
applicationMainClass=TemplateProgramKt
|
||||
openrndr.tasks=true
|
||||
kotlin.code.style=official
|
||||
#org.gradle.configuration-cache=true
|
||||
#org.gradle.configuration-cache.parallel=true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
rootProject.name = "openrndr-template"
|
||||
rootProject.name = extra["project.name"]?.toString() ?: error("project.name not set")
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
|
||||
Reference in New Issue
Block a user