Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
rafandoo committed Sep 10, 2024
1 parent 94f7b3f commit 3950ff9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test {

shadowJar {
archiveBaseName.set(rootProject.name)
archiveClassifier.set('all') // Nome do arquivo final do fatjar
archiveClassifier.set('all')
archiveVersion.set(version)

manifest {
Expand All @@ -57,7 +57,14 @@ publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact shadowJar.archiveFile // Publica o fatjar gerado

artifacts.clear()

artifact(tasks.jar)

artifact(tasks.shadowJar) {
classifier = 'all'
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/br/dev/rplus/cup/log/LevelCup.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return super.hashCode();
return this.intValue();
}
}

0 comments on commit 3950ff9

Please sign in to comment.