Updated build dependencies
This commit is contained in:
parent
d2aacbdc2e
commit
4b48e12894
|
@ -14,8 +14,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.time.Instant
|
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
////// PUBLISH TO SONATYPE / MAVEN CENTRAL
|
////// PUBLISH TO SONATYPE / MAVEN CENTRAL
|
||||||
////// TESTING : (to local maven repo) <'publish and release' - 'publishToMavenLocal'>
|
////// TESTING : (to local maven repo) <'publish and release' - 'publishToMavenLocal'>
|
||||||
|
@ -26,10 +24,10 @@ gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show th
|
||||||
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.dorkbox.GradleUtils") version "3.9"
|
id("com.dorkbox.GradleUtils") version "3.17"
|
||||||
id("com.dorkbox.Licensing") version "2.19.1"
|
id("com.dorkbox.Licensing") version "2.22"
|
||||||
id("com.dorkbox.VersionUpdate") version "2.5"
|
id("com.dorkbox.VersionUpdate") version "2.8"
|
||||||
id("com.dorkbox.GradlePublish") version "1.17"
|
id("com.dorkbox.GradlePublish") version "1.18"
|
||||||
|
|
||||||
kotlin("jvm") version "1.8.0"
|
kotlin("jvm") version "1.8.0"
|
||||||
}
|
}
|
||||||
|
@ -46,8 +44,6 @@ object Extras {
|
||||||
const val vendor = "Dorkbox LLC"
|
const val vendor = "Dorkbox LLC"
|
||||||
const val vendorUrl = "https://dorkbox.com"
|
const val vendorUrl = "https://dorkbox.com"
|
||||||
const val url = "https://git.dorkbox.com/dorkbox/OS"
|
const val url = "https://git.dorkbox.com/dorkbox/OS"
|
||||||
|
|
||||||
val buildDate = Instant.now().toString()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
@ -77,7 +73,7 @@ tasks.jar.get().apply {
|
||||||
attributes["Specification-Vendor"] = Extras.vendor
|
attributes["Specification-Vendor"] = Extras.vendor
|
||||||
|
|
||||||
attributes["Implementation-Title"] = "${Extras.group}.${Extras.id}"
|
attributes["Implementation-Title"] = "${Extras.group}.${Extras.id}"
|
||||||
attributes["Implementation-Version"] = Extras.buildDate
|
attributes["Implementation-Version"] = GradleUtils.now()
|
||||||
attributes["Implementation-Vendor"] = Extras.vendor
|
attributes["Implementation-Vendor"] = Extras.vendor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue