Skip to content

Commit

Permalink
Duplicates strategy defined, bump gradle-plugin version to 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
R0bbyYT committed May 19, 2021
1 parent 463bdf4 commit 6d8cd0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ repositories {
mavenCentral()
}

version = System.getenv().getOrDefault("VERSION", "2.10.0")
version = System.getenv().getOrDefault("VERSION", "2.10.1")

dependencies {
implementation(group = "com.fasterxml.jackson.core", name = "jackson-core", version = "2.11.1")
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/flintmc/gradle/java/JarTaskProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.gradle.api.GradleException;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.file.DuplicatesStrategy;
import org.gradle.api.plugins.ExtraPropertiesExtension;
import org.gradle.api.plugins.JavaPluginConvention;
import org.gradle.api.tasks.SourceSet;
Expand Down Expand Up @@ -239,6 +240,7 @@ public void createJarBundledInstallerTask(Project project, FlintSelfInstallerExt
bundledInstallerJarTask.getArchiveClassifier().set("bundled-installer");
bundledInstallerJarTask.setGroup("build");
bundledInstallerJarTask.dependsOn(mainJarTask);
bundledInstallerJarTask.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE);

Map<String, String> bundle = new HashMap<>();

Expand Down

0 comments on commit 6d8cd0c

Please sign in to comment.