Skip to content

Commit

Permalink
Exclude plugin.xml from gradle tooling jar
Browse files Browse the repository at this point in the history
I think the new intellij gradle plugin includes the plugin manifest in
 all jar tasks -_-
  • Loading branch information
RedNesto committed May 16, 2024
1 parent a29d1ae commit 19b53a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.jlleitschuh.gradle.ktlint.tasks.BaseKtLintCheckTask
import org.jlleitschuh.gradle.ktlint.tasks.KtLintFormatTask

plugins {
kotlin("jvm") version "1.9.22"
kotlin("jvm") version "2.0.0-RC3"
java
mcdev
groovy
Expand Down Expand Up @@ -70,6 +70,7 @@ val gradleToolingExtensionSourceSet: SourceSet = sourceSets.create("gradle-tooli
val gradleToolingExtensionJar = tasks.register<Jar>(gradleToolingExtensionSourceSet.jarTaskName) {
from(gradleToolingExtensionSourceSet.output)
archiveClassifier.set("gradle-tooling-extension")
exclude("META-INF/plugin.xml")
}

val externalAnnotationsJar = tasks.register<Jar>("externalAnnotationsJar") {
Expand Down

0 comments on commit 19b53a9

Please sign in to comment.