mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix gradle build
This commit is contained in:
parent
1ba02c54b7
commit
a273e55e7a
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user