Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 10 additions & 49 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,42 +1,12 @@
plugins {
id("groovy")
id("gradlexbuild.build-parameters")
id("gradlexbuild.documentation-conventions")
id("org.gradlex.internal.plugin-publish-conventions") version "0.6"
}

group = "org.gradlex"
version = "1.4.5"

java {
toolchain.languageVersion = JavaLanguageVersion.of(17)
}

tasks.withType<JavaCompile>().configureEach {
options.release = 8
}

dependencies.constraints {
checkstyle("com.google.guava:guava:33.5.0-jre") {
because("CVE-2023-2976, CVE-2020-8908")
}
checkstyle("commons-beanutils:commons-beanutils:1.11.0") {
because("CVE-2025-48734")
}
testSamplesImplementation("commons-io:commons-io:2.20.0") {
because("CVE-2024-47554, CVE-2021-29425")
publishingConventions {
pluginPortal("${project.group}.${project.name}") {
implementationClass("org.gradlex.buildparameters.BuildParametersPlugin")
displayName("Build Parameters Gradle Plugin")
description("Compile-safe access to parameters supplied to a Gradle build.")
tags("gradlex", "parameters", "build parameters")
}
testSamplesImplementation("org.apache.commons:commons-lang3:3.19.0") {
because("CVE-2025-48924")
}
}

pluginPublishConventions {
id("${project.group}.${project.name}")
implementationClass("org.gradlex.buildparameters.BuildParametersPlugin")
displayName("Build Parameters Gradle Plugin")
description("Compile-safe access to parameters supplied to a Gradle build.")
tags("gradlex", "parameters", "build parameters")
gitHub("https://github.com/gradlex-org/build-parameters")
website("https://gradlex.org/build-parameters")
developer {
Expand All @@ -51,17 +21,8 @@ pluginPublishConventions {
}
}

testing.suites.named<JvmTestSuite>("test") {
useJUnitJupiter()
dependencies {
implementation("org.spockframework:spock-core:2.3-groovy-4.0")
}
targets.all {
testTask { maxParallelForks = 4 }
}
}

tasks.publishPlugins {
dependsOn(tasks.check)
}
// === the following custom configuration should be removed once tests are migrated to Java
apply(plugin = "groovy")

dependencies { testImplementation("org.spockframework:spock-core:2.3-groovy-4.0") } //
// ====================================================================================
23 changes: 0 additions & 23 deletions gradle/checkstyle/checkstyle.xml

This file was deleted.

15 changes: 0 additions & 15 deletions gradle/checkstyle/header.txt

This file was deleted.

1 change: 1 addition & 0 deletions gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
toolchainVersion=17
39 changes: 0 additions & 39 deletions gradle/plugins/build-parameters/build.gradle.kts

This file was deleted.

7 changes: 0 additions & 7 deletions gradle/plugins/documentation-conventions/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions gradle/plugins/settings.gradle.kts

This file was deleted.

Loading
Loading