Configure group/name/version through gradle.properties
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
rootProject.name = "openrndr-template"
|
rootProject.name = extra["project.name"]?.toString() ?: error("project.name not set")
|
||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
Reference in New Issue
Block a user