Skip to content
Permalink
Browse files

Fix gradle build

  • Loading branch information
octylFractal committed Oct 19, 2019
1 parent 1ba02c5 commit a273e55e7ab57acd7e759bd12a0682e465b9a137
Showing with 14 additions and 0 deletions.
  1. +4 −0 config/checkstyle/import-control.xml
  2. +10 −0 worldedit-core/build.gradle.kts
@@ -42,6 +42,10 @@
<allow pkg="com.google.auto"/>
<allow pkg="it.unimi.dsi.fastutil"/>

<subpackage name="internal.expression">
<allow pkg="org.antlr.v4"/>
</subpackage>

<subpackage name="bukkit">
<allow pkg="org.bukkit"/>
<allow pkg="org.bstats.bukkit"/>
@@ -1,3 +1,4 @@
import net.minecrell.gradle.licenser.LicenseExtension
import org.gradle.plugins.ide.idea.model.IdeaModel

plugins {
@@ -52,6 +53,15 @@ tasks.named<AntlrTask>("generateGrammarSource").configure {
)
}

configure<LicenseExtension> {
exclude {
it.file.startsWith(project.buildDir)
}
}
tasks.withType<Checkstyle>().configureEach {
exclude("com/sk89q/worldedit/antlr/**/*.java")
}

// Give intellij info about where ANTLR code comes from
plugins.withId("idea") {
configure<IdeaModel> {

0 comments on commit a273e55

Please sign in to comment.
You can’t perform that action at this time.