Skip to content

Commit

Permalink
Use default shade plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Kale-Ko committed Sep 7, 2024
1 parent 9aafa64 commit bb97af8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
17 changes: 9 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "io.github.kale_ko.gradleshade" version "1.2.0"
id "com.gradleup.shadow" version "8.3.0"
id "maven-publish"
}

Expand Down Expand Up @@ -49,14 +49,13 @@ jar {
"Sealed": true
}
}
import io.github.kale_ko.gradleshade.ShadeMode

shade {
mode = ShadeMode.EMBED_CLASSES
shadowJar {
archiveClassifier = "fat"
}

shadedJar {
archiveClassifier = "fat"
build {
finalizedBy tasks.shadowJar
}

javadoc {
Expand All @@ -81,6 +80,8 @@ javadoc {

publishing {
repositories {
mavenLocal()

maven {
name = "Kales-Maven-Snapshot"
url = "https://maven.kaleko.dev/public-snapshot/"
Expand Down Expand Up @@ -114,13 +115,13 @@ publishing {
}

publications {
ghp(MavenPublication) {
main(MavenPublication) {
groupId = project.group
artifactId = "ejcl"
version = project.version

artifact tasks.jar
artifact tasks.shadedJar
artifact tasks.shadowJar
artifact tasks.sourcesJar
artifact tasks.javadocJar

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.caching=true

java_version=11

project_version=4.2.0
project_version=4.2.1
project_description=An advanced configuration library for Java with support for local files, mysql databases, and more.

bjsl_version=1.12.0
bjsl_version=1.12.1

mysql_connector_version=8.4.0
mariadb_connector_version=3.4.1
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pluginManagement {
repositories {
maven {
url "https://maven.kaleko.dev/public-snapshot/"
name = "Kales-Maven"
url = "https://maven.kaleko.dev/public-snapshot/"
}
gradlePluginPortal()
}
Expand Down

0 comments on commit bb97af8

Please sign in to comment.