Skip to content

Commit

Permalink
added new libs.versions.toml file for new automatic catalog versions …
Browse files Browse the repository at this point in the history
…update
  • Loading branch information
astrapisixtynine committed Jun 21, 2024
1 parent 5cd12dd commit f3993e4
Show file tree
Hide file tree
Showing 25 changed files with 274 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__build_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions .idea/runConfigurations/randomizer__clean_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/runConfigurations/randomizer__dependencies_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__dependencyUpdates_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__jacocoTestReport_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__javadoc_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__licenseFormat_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__publish_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__spotlessJavaApply_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion .idea/runConfigurations/randomizer__spotlessMiscApply_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/randomizer__tagRelease_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/runConfigurations/randomizer__versionCatalogFormat_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/runConfigurations/randomizer__versionCatalogUpdate_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Version 10.3-SNAPSHOT
-------------

ADDED:

- new libs.versions.toml file for new automatic catalog versions update

Version 10.2
-------------
Expand Down
48 changes: 27 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
group = "$groupPackage" as Object
version = "$projectVersion" as Object
description = "$rootProject.name"

buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
url projectRepositoriesMavenUrl
}
}
dependencies {
classpath "com.github.ben-manes:gradle-versions-plugin:$gradlePluginVersionsVersion"
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:$licenseGradlePluginVersion"
classpath "org.ajoberstar.grgit:grgit-gradle:$grgitGradlePluginVersion"
classpath "com.diffplug.spotless:spotless-plugin-gradle:$spotlessGradlePluginVersion"
}
}

apply plugin: "java"
apply plugin: "java-library"
apply plugin: "maven-publish"
apply plugin: "signing"
apply plugin: "com.github.ben-manes.versions"
apply plugin: "com.github.hierynomus.license"
apply plugin: "jacoco"
apply plugin: "org.ajoberstar.grgit"
apply plugin: "com.diffplug.spotless"
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'signing'
id 'jacoco'
alias(libs.plugins.gradle.versions.plugin)
alias(libs.plugins.license.gradle.plugin)
alias(libs.plugins.grgit.gradle)
alias(libs.plugins.spotless.plugin.gradle)
alias(libs.plugins.version.catalog.update)
}

group = "$groupPackage" as Object
version = "$projectVersion" as Object
description = "$rootProject.name"

// import gradle files
apply from: "gradle/dependencies.gradle"
apply from: "gradle/formatting.gradle"
Expand All @@ -34,12 +32,20 @@ apply from: "gradle/packaging.gradle"
apply from: "gradle/publishing.gradle"
apply from: "gradle/repositories.gradle"
apply from: "gradle/testing.gradle"
apply from: "gradle/version-catalog-update.gradle"

java {
sourceCompatibility = "$projectSourceCompatibility" as Object
toolchain {
languageVersion = JavaLanguageVersion.of("$projectSourceCompatibility")
}
}

tasks.named("test") {
it.mustRunAfter(tasks.named("jar"))
}

tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach { javaCompiler ->
options.encoding = "UTF-8"
// uncomment the next line for build with compiler argument -Xlint:deprecation
// options.compilerArgs << "-Xlint:deprecation"
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ projectRepositoriesReleasesRepoUrl=https://oss.sonatype.org/service/local/stagin
projectRepositoriesSnapshotsRepoUrl=https://oss.sonatype.org/content/repositories/snapshots
projectRepositoriesUserNameKey=ossrhUsername
projectRepositoriesPasswordKey=ossrhPassword
projectRepositoriesReleasesName=Sonatype Nexus Releases
projectRepositoriesSnapshotsName=Sonatype Nexus Snapshots
projectRepositoriesMavenUrl=https://plugins.gradle.org/m2/
###########################
# gradle-plugins versions #
###########################
Expand Down
26 changes: 14 additions & 12 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
dependencies {
implementation("io.github.astrapi69:jobj-core:$jobjCoreVersion")
implementation("io.github.astrapi69:jobj-reflect:$jobjReflectVersion")
implementation("io.github.astrapi69:jobj-copy:$jobjCopyVersion")
implementation("io.github.astrapi69:silly-collection:$sillyCollectionVersion")
implementation("io.github.astrapi69:silly-math:$sillyMathVersion")
implementation("io.github.astrapi69:vintage-time:$vintageTimeVersion")
testImplementation("org.apache.commons:commons-lang3:$commonsLang3Version")
testImplementation("nl.jqno.equalsverifier:equalsverifier:$equalsverifierVersion")
testImplementation("io.github.astrapi69:silly-strings:$sillyStringsVersion")
testImplementation("io.github.astrapi69:test-object:$testObjectVersion")
testImplementation("com.github.meanbeanlib:meanbean:$meanbeanVersion")
testImplementation("org.testng:testng:$testngVersion")
implementation libs.jobj.core
implementation libs.jobj.reflect
implementation libs.jobj.copy
implementation libs.silly.collection
implementation libs.silly.math
implementation libs.vintage.time
testImplementation libs.commons.lang3
testImplementation libs.equalsverifier
testImplementation libs.silly.strings
testImplementation libs.test.object
testImplementation libs.meanbean
testImplementation libs.testng
// Note: use of bundles...
testImplementation libs.bundles.unit.testing
}
Loading

0 comments on commit f3993e4

Please sign in to comment.