Skip to content

Commit

Permalink
Revert "test shadow apache commons"
Browse files Browse the repository at this point in the history
This reverts commit 064db5f.
  • Loading branch information
kozarezvlad committed Sep 24, 2024
1 parent 4c8626c commit f5f276e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

/*
* This file was generated by the Gradle 'init' task.
*
Expand All @@ -12,7 +10,6 @@ plugins {
id 'java'
id 'eclipse'
id 'org.jetbrains.kotlin.jvm'
id 'com.gradleup.shadow' version '8.3.2'
}
apply from: '../ic4j-agent/upload-github.gradle'

Expand Down Expand Up @@ -48,16 +45,6 @@ task fatJar(type: Jar) {
with jar
}

tasks.named('shadowJar', ShadowJar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes('Implementation-Title': 'ic4j-agent',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-agent'
relocate 'org.apache.commons', 'shadow.apache.commons'
}

test {
useJUnitPlatform()

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion upload-github.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ afterEvaluate {
artifactId = "$project.artifactId"
version = "$project.artifactVersion"

components.shadow
artifact jar
// from components.java

pom.withXml {
Expand Down

0 comments on commit f5f276e

Please sign in to comment.