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 edfd3c8 commit 78a07b8
Show file tree
Hide file tree
Showing 22 changed files with 323 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .idea/runConfigurations/jobj_compare__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.

20 changes: 16 additions & 4 deletions .idea/runConfigurations/jobj_compare__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.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/jobj_compare__code_coverage_.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/jobj_compare__delombok_.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/jobj_compare__dependencies_.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.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/jobj_compare__publish_.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.

12 changes: 11 additions & 1 deletion .idea/runConfigurations/jobj_compare__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/jobj_compare__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/jobj_compare__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/jobj_compare__versionCatalogUpdate_.xml

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

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
Version 11.2-SNAPSHOT
-------------

ADDED:

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

CHANGED:

- tagged class BeanPropertyComparator as deprecated
Expand Down
51 changes: 29 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,31 +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"
}
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)
}

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"
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 @@ -35,13 +32,23 @@ 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"

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

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"
// uncomment the next line for build with compiler argument -Xlint:unchecked
// options.compilerArgs << "-Xlint:unchecked"
}

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

0 comments on commit 78a07b8

Please sign in to comment.