mirror of
https://github.com/GayPizzaSpecifications/concrete.git
synced 2025-08-05 22:21:33 +00:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
e1e42df67e
|
|||
dc1ebe09b7
|
|||
1cd36b5529
|
|||
a06687507c
|
|||
5d4152d6df
|
|||
4c7dea2296
|
@ -2,12 +2,12 @@ plugins {
|
|||||||
`kotlin-dsl`
|
`kotlin-dsl`
|
||||||
kotlin("plugin.serialization") version "1.7.10"
|
kotlin("plugin.serialization") version "1.7.10"
|
||||||
|
|
||||||
id("maven-publish")
|
`maven-publish`
|
||||||
id("java-gradle-plugin")
|
`java-gradle-plugin`
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "gay.pizza.foundation"
|
group = "gay.pizza.foundation"
|
||||||
version = "0.7.0"
|
version = "0.9.0"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -15,8 +15,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-serialization:1.7.10")
|
implementation("org.jetbrains.kotlin:kotlin-serialization:1.8.10")
|
||||||
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.2")
|
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.2")
|
||||||
implementation("com.google.code.gson:gson:2.10.1")
|
implementation("com.google.code.gson:gson:2.10.1")
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@ open class ConcreteBasePlugin : Plugin<Project> {
|
|||||||
override fun apply(project: Project) {
|
override fun apply(project: Project) {
|
||||||
val versionWithBuild = if (System.getenv("CI_PIPELINE_IID") != null) {
|
val versionWithBuild = if (System.getenv("CI_PIPELINE_IID") != null) {
|
||||||
project.rootProject.version.toString() + ".${System.getenv("CI_PIPELINE_IID")}"
|
project.rootProject.version.toString() + ".${System.getenv("CI_PIPELINE_IID")}"
|
||||||
|
} else if (System.getenv("CONCRETE_BUILD_NUMBER") != null) {
|
||||||
|
project.rootProject.version.toString() + ".${System.getenv("CONCRETE_BUILD_NUMBER")}"
|
||||||
} else {
|
} else {
|
||||||
"DEV"
|
"DEV"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user