mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
jdb: Add VERSION file
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
fancylibVersion=37
|
fancylibVersion=37
|
||||||
fancysitulaVersion=0.0.13
|
fancysitulaVersion=0.0.13
|
||||||
jdbVersion=1.0.2
|
|
||||||
plugintestsVersion=1.0.0
|
plugintestsVersion=1.0.0
|
||||||
org.gradle.parallel=false
|
org.gradle.parallel=false
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
1
libraries/jdb/VERSION
Normal file
1
libraries/jdb/VERSION
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.0.2
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
id("maven-publish")
|
id("maven-publish")
|
||||||
id("com.github.johnrengelman.shadow")
|
id("com.gradleup.shadow")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "de.oliver"
|
group = "de.oliver"
|
||||||
version = findProperty("jdbVersion") as String
|
version = getJDBVersion()
|
||||||
description = "Library for storing JSON data locally"
|
description = "Library for storing JSON data locally"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
@@ -55,7 +55,7 @@ tasks {
|
|||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
groupId = "de.oliver"
|
groupId = "de.oliver"
|
||||||
artifactId = "JDB"
|
artifactId = "JDB"
|
||||||
version = findProperty("jdbVersion") as String
|
version = getJDBVersion()
|
||||||
from(project.components["java"])
|
from(project.components["java"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -85,3 +85,7 @@ tasks {
|
|||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun getJDBVersion(): String {
|
||||||
|
return file("VERSION").readText()
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user