Updated build deps.

This commit is contained in:
Robinson 2023-07-18 01:27:24 +02:00
parent 726e6740dd
commit 56b8561b2e
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 7 additions and 11 deletions

View File

@ -13,7 +13,7 @@ Maven Info
<dependency> <dependency>
<groupId>com.dorkbox</groupId> <groupId>com.dorkbox</groupId>
<artifactId>PropertyLoader</artifactId> <artifactId>PropertyLoader</artifactId>
<version>1.2</version> <version>1.3</version>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```

View File

@ -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'>
@ -25,17 +23,17 @@ import java.time.Instant
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace! gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
plugins { plugins {
id("com.dorkbox.GradleUtils") version "3.11" id("com.dorkbox.GradleUtils") version "3.17"
id("com.dorkbox.Licensing") version "2.20" id("com.dorkbox.Licensing") version "2.24"
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"
} }
object Extras { object Extras {
// set for the project // set for the project
const val description = "Property annotation and loader for fields" const val description = "Property annotation and loader for fields"
const val group = "com.dorkbox" const val group = "com.dorkbox"
const val version = "1.2" const val version = "1.3"
// set as project.ext // set as project.ext
const val name = "PropertyLoader" const val name = "PropertyLoader"
@ -43,8 +41,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/PropertyLoader" const val url = "https://git.dorkbox.com/dorkbox/PropertyLoader"
val buildDate = Instant.now().toString()
} }
/////////////////////////////// ///////////////////////////////
@ -74,7 +70,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
} }
} }