Skip to content

Commit

Permalink
Add support for io.github.goooler.shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
srnyx committed May 5, 2024
1 parent 65875a0 commit 8359664
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/xyz/srnyx/gradlegalaxy/utility/Scripts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import org.gradle.api.tasks.bundling.Jar
import org.gradle.kotlin.dsl.*

import xyz.srnyx.gradlegalaxy.annotations.Ignore
import xyz.srnyx.gradlegalaxy.data.AdventureDependency
import xyz.srnyx.gradlegalaxy.data.pom.DeveloperData
import xyz.srnyx.gradlegalaxy.data.pom.LicenseData
import xyz.srnyx.gradlegalaxy.data.pom.ScmData
Expand All @@ -43,7 +42,7 @@ fun Project.hasJavaPlugin(): Boolean = plugins.hasPlugin("java")
*
* @return If the Shadow plugin is applied
*/
fun Project.hasShadowPlugin(): Boolean = plugins.hasPlugin("com.github.johnrengelman.shadow")
fun Project.hasShadowPlugin(): Boolean = plugins.hasPlugin("com.github.johnrengelman.shadow") || plugins.hasPlugin("io.github.goooler.shadow")

/**
* Gets the Java plugin extension
Expand Down

0 comments on commit 8359664

Please sign in to comment.