File tree Expand file tree Collapse file tree
functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow
main/kotlin/com/github/jengelman/gradle/plugins/shadow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import assertk.assertions.contains
66import assertk.assertions.containsOnly
77import assertk.assertions.doesNotContain
88import assertk.assertions.isEqualTo
9- import com.github.jengelman.gradle.plugins.shadow.ShadowApplicationPlugin .Companion.SHADOW_INSTALL_TASK_NAME
9+ import com.github.jengelman.gradle.plugins.shadow.ShadowJavaAppPlugin .Companion.SHADOW_INSTALL_TASK_NAME
1010import com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin.Companion.DISTRIBUTION_NAME
1111import com.github.jengelman.gradle.plugins.shadow.internal.classPathAttributeKey
1212import com.github.jengelman.gradle.plugins.shadow.internal.mainClassAttributeKey
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import assertk.assertThat
66import assertk.assertions.doesNotContain
77import assertk.assertions.isEqualTo
88import assertk.assertions.isNotNull
9- import com.github.jengelman.gradle.plugins.shadow.ShadowApplicationPlugin .Companion.SHADOW_RUN_TASK_NAME
9+ import com.github.jengelman.gradle.plugins.shadow.ShadowJavaAppPlugin .Companion.SHADOW_RUN_TASK_NAME
1010import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin.Companion.SHADOW_JAR_TASK_NAME
1111import com.github.jengelman.gradle.plugins.shadow.internal.requireResourceAsPath
1212import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
2525 *
2626 * Modified from [org.gradle.api.plugins.ApplicationPlugin.java](https://github.com/gradle/gradle/blob/45a20d82b623786d19b50185e595adf3d7b196b2/platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java).
2727 */
28- public abstract class ShadowApplicationPlugin : Plugin <Project > {
28+ public abstract class ShadowJavaAppPlugin : Plugin <Project > {
2929 override fun apply (project : Project ) {
3030 project.addRunTask()
3131 project.addCreateScriptsTask()
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ public abstract class ShadowPlugin : Plugin<Project> {
1717 }
1818 @Suppress(" WithTypeWithoutConfigureEach" )
1919 withType(ApplicationPlugin ::class .java) {
20- apply (ShadowApplicationPlugin ::class .java)
20+ apply (ShadowJavaAppPlugin ::class .java)
2121 }
2222 withId(" org.jetbrains.kotlin.multiplatform" ) {
2323 isKmpApplied = true
2424 apply (ShadowKmpPlugin ::class .java)
25- apply (ShadowApplicationPlugin ::class .java)
25+ apply (ShadowJavaAppPlugin ::class .java)
2626 }
2727
2828 // Apply the legacy plugin last.
You can’t perform that action at this time.
0 commit comments