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