Skip to content

Commit

Permalink
Revert "Added options to minimize the shadowJar process (#1071)" (#1077)
Browse files Browse the repository at this point in the history
This reverts commit 6907113.
  • Loading branch information
jan-goral authored Sep 2, 2020
1 parent 1b75b6f commit d9fb1ff
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions test_runner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,10 @@ shadowJar.apply {
archiveClassifier.set("")
archiveBaseName.set(artifactID)
mergeServiceFiles()
minimize {
exclude(dependency(Libs.KOTLIN_REFLECT))
exclude(dependency(Libs.JACKSON_XML))
exclude(dependency(Libs.JACKSON_DATABIND))
exclude(dependency(Libs.JACKSON_KOTLIN))
exclude(dependency(Libs.JACKSON_YAML))
exclude(dependency(Libs.GSON))
}
@Suppress("UnstableApiUsage")
manifest {
attributes(mapOf("Main-Class" to "ftl.Main"))
}
dependencies {
exclude(dependency(Libs.TRUTH))
exclude(dependency(Libs.MOCKK))
exclude(dependency(Libs.JUNIT))
exclude(dependency(Libs.DETEKT_FORMATTING))
}
}

// https://bintray.com/flank/maven
Expand Down Expand Up @@ -149,8 +135,8 @@ detekt {

// Kotlin dsl
tasks.withType<io.gitlab.arturbosch.detekt.Detekt> {
// Target version of the generated JVM bytecode. It is used for type resolution.
this.jvmTarget = "1.8"
// Target version of the generated JVM bytecode. It is used for type resolution.
this.jvmTarget = "1.8"
}

// http://www.eclemma.org/jacoco/
Expand Down Expand Up @@ -185,7 +171,6 @@ application {
repositories {
maven(url = "http://dl.bintray.com/kotlin/ktor")
maven(url = "https://dl.bintray.com/kotlin/kotlinx")
google()
jcenter()
}

Expand All @@ -200,6 +185,7 @@ tasks.withType<Test> {

dependencies {
implementation(Libs.BUGSNAG)

implementation(Libs.DD_PLIST)
implementation(Libs.DEX_TEST_PARSER)

Expand Down

0 comments on commit d9fb1ff

Please # to comment.