Skip to content

Commit

Permalink
Version 1.5.3 with info for the 2.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohannes committed Apr 5, 2024
1 parent 7679fbd commit 7031ff3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "org.gradlex"
version = "1.5.2"
version = "1.5.3"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(11)) // to run tests that use Android with 11
Expand All @@ -18,7 +18,7 @@ pluginPublishConventions {
id("${project.group}.${project.name}")
implementationClass("org.gradlex.javaecosystem.capabilities.JavaEcosystemCapabilitiesPlugin")
displayName("Java Ecosystem Capabilities Gradle Plugin")
description("Adds Capabilities to well-known Components hosted on Maven Central.")
description("!!! Plugin ID changed to 'org.gradlex.jvm-dependency-conflict-resolution' !!!")
tags("capabilities", "java",
"asm", "bouncycastle", "cglib", "commons-io", "dom4j", "guava", "hamcrest", "javax", "jakarta", "junit",
"postgresql", "stax", "velocity", "woodstox")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.gradle.api.artifacts.component.ModuleComponentIdentifier;
import org.gradle.api.artifacts.dsl.ComponentMetadataHandler;
import org.gradle.api.initialization.Settings;
import org.gradle.api.logging.Logger;
import org.gradle.api.plugins.ExtensionAware;
import org.gradle.util.GradleVersion;
import org.gradlex.javaecosystem.capabilities.componentrules.GuavaComponentRule;
Expand Down Expand Up @@ -88,6 +89,7 @@
import org.gradlex.javaecosystem.capabilities.rules.VelocityRule;
import org.gradlex.javaecosystem.capabilities.rules.WoodstoxAslRule;
import org.gradlex.javaecosystem.capabilities.util.VersionNumber;
import org.slf4j.LoggerFactory;

import javax.annotation.Nullable;
import java.util.HashMap;
Expand All @@ -111,6 +113,11 @@ public abstract class JavaEcosystemCapabilitiesPlugin implements Plugin<Extensio

@Override
public void apply(ExtensionAware projectOrSettings) {
Logger logger = (Logger) LoggerFactory.getLogger(JavaEcosystemCapabilitiesPlugin.class);
logger.lifecycle("Plugin ID changed for version 2.0:\n" +
" Plugin ID: org.gradlex.java-ecosystem-capabilities -> org.gradlex.jvm-dependency-conflict-resolution\n" +
" GA Coordinates: org.gradlex:java-ecosystem-capabilities -> org.gradlex:jvm-dependency-conflict-resolution");

if (GradleVersion.current().compareTo(MINIMUM_SUPPORTED_VERSION) < 0) {
throw new IllegalStateException("Plugin requires at least Gradle " + MINIMUM_SUPPORTED_VERSION.getVersion());
}
Expand Down

0 comments on commit 7031ff3

Please sign in to comment.