diff --git a/README.md b/README.md index 9d2fd722..d1ffc362 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ shadeDowngradedApi { } ``` -Optionally, you can also depend on the sahdeDowngradedApi task when running build. +Optionally, you can also depend on the shadeDowngradedApi task when running build. ```gradle assemble.dependsOn shadeDowngradedApi diff --git a/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/transform/DowngradeTransform.kt b/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/transform/DowngradeTransform.kt index 2f27f5ce..0fffb9ba 100644 --- a/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/transform/DowngradeTransform.kt +++ b/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/transform/DowngradeTransform.kt @@ -32,11 +32,9 @@ abstract class DowngradeTransform : TransformAction { val output = outputs.file("${input.nameWithoutExtension}-downgraded-${flags.downgradeTo.get()}.${input.extension}") val classpath = dependencies.files - System.out.println(this.input.get().javaClass) - ClassDowngrader.downgradeTo(flags.toFlags()).use { ZipDowngrader.downgradeZip(it, input.toPath(), classpath.map { it.toURI().toURL() }.toSet(), output.toPath()) } } -} \ No newline at end of file +}