Stop building metalava shadow jars.
We no longer use shadow jars in androidx. Remove building
them.
Test: ./gradlew
Change-Id: Ie5432f0f80cc7c3fc651b92f8258d1fe76e45ab0
diff --git a/build.gradle.kts b/build.gradle.kts
index 55b87f8..9843450 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,4 +1,3 @@
-import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.io.FileInputStream
@@ -16,7 +15,7 @@
buildDir = getBuildDirectory()
-defaultTasks = listOf("installDist", "test", "shadowJar", "createArchive", "ktlint")
+defaultTasks = mutableListOf("installDist", "test", "createArchive", "ktlint")
repositories {
google()
@@ -34,7 +33,6 @@
kotlin("jvm") version "1.3.72"
id("application")
id("java")
- id("com.github.johnrengelman.shadow") version "4.0.4"
id("maven-publish")
}
@@ -85,14 +83,6 @@
testImplementation("junit:junit:4.11")
}
-tasks.withType(ShadowJar::class.java) {
- archiveBaseName.set("metalava-full-${project.version}")
- archiveClassifier.set(null as String?)
- archiveVersion.set(null as String?)
- setZip64(true)
- destinationDirectory.set(getDistributionDirectory())
-}
-
tasks.withType(Test::class.java) {
testLogging.events = hashSetOf(
TestLogEvent.FAILED,