From c89150c2232fc4961e27da91f5e251a2db0c7bd2 Mon Sep 17 00:00:00 2001 From: Tony Robalik Date: Wed, 20 Nov 2024 22:38:29 -0800 Subject: [PATCH] Prepare for release 2.5.0. --- CHANGELOG.md | 5 +++++ gradle.properties | 3 +-- gradle/libs.versions.toml | 2 +- testkit/gradle.properties | 6 ++++-- testkit/settings.gradle.kts | 10 +++++----- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91a4a3ee1..151676692 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ Dependency Analysis Plugin Changelog +# Version 2.5.0 +* [Feat]: use KotlinEditor to rewrite Gradle Kotlin DSL scripts. +* [Fix]: ProjectAdvice is totally Comparable. +* [Refactor]: make a lot of data models internal that don't need to be public. + # Version 2.4.2 * [Fix]: reason can explain usage of invisible annotations. diff --git a/gradle.properties b/gradle.properties index b6eb68446..74b7d04ab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,9 +8,8 @@ org.gradle.caching=true org.gradle.parallel=true org.gradle.configuration-cache=true -VERSION=2.4.3-SNAPSHOT +VERSION=2.5.0 -dependency.analysis.autoapply=false dependency.analysis.print.build.health=true # Uncomment to use maven local diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7dffa441b..f6894a5c0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ antlr-shadowed = "4.10.1.6" asm-relocated = "9.7.1.0" caffeine = "3.1.8" commons-io = "2.16.0" -dagp = "1.33.0" +dagp = "2.4.2" error-prone = "2.26.1" gradle-publish-plugin = "1.1.0" grammar = "0.3" diff --git a/testkit/gradle.properties b/testkit/gradle.properties index 3470d800e..9cdcf6d22 100644 --- a/testkit/gradle.properties +++ b/testkit/gradle.properties @@ -1,11 +1,13 @@ # Copyright (c) 2024. Tony Robalik. # SPDX-License-Identifier: Apache-2.0 -org.gradle.jvmargs=-Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:MaxMetaspaceSize=512m +org.gradle.jvmargs=-Xmx6G \ + -Dfile.encoding=UTF-8 \ + -XX:+HeapDumpOnOutOfMemoryError \ + -XX:MaxMetaspaceSize=1024m org.gradle.caching=true org.gradle.parallel=true org.gradle.configuration-cache=true -dependency.analysis.autoapply=false dependency.analysis.print.build.health=true # Uncomment to use maven local diff --git a/testkit/settings.gradle.kts b/testkit/settings.gradle.kts index 3296268d5..e619d5f5d 100644 --- a/testkit/settings.gradle.kts +++ b/testkit/settings.gradle.kts @@ -25,7 +25,7 @@ pluginManagement { plugins { id("com.autonomousapps.testkit") version "0.8" id("com.github.johnrengelman.shadow") version "8.1.1" - id("com.gradle.enterprise") version "3.15.1" + id("com.gradle.enterprise") version "3.18.2" id("com.gradle.plugin-publish") version "1.1.0" id("org.jetbrains.dokka") version "1.9.20" } @@ -60,11 +60,11 @@ dependencyResolutionManagement { } } -gradleEnterprise { +develocity { buildScan { - publishAlways() - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" + publishing.onlyIf { true } + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" tag(if (System.getenv("CI").isNullOrBlank()) "Local" else "CI") }