Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Fix gradle build
Dieser Commit ist enthalten in:
Ursprung
1ba02c54b7
Commit
a273e55e7a
@ -42,6 +42,10 @@
|
|||||||
<allow pkg="com.google.auto"/>
|
<allow pkg="com.google.auto"/>
|
||||||
<allow pkg="it.unimi.dsi.fastutil"/>
|
<allow pkg="it.unimi.dsi.fastutil"/>
|
||||||
|
|
||||||
|
<subpackage name="internal.expression">
|
||||||
|
<allow pkg="org.antlr.v4"/>
|
||||||
|
</subpackage>
|
||||||
|
|
||||||
<subpackage name="bukkit">
|
<subpackage name="bukkit">
|
||||||
<allow pkg="org.bukkit"/>
|
<allow pkg="org.bukkit"/>
|
||||||
<allow pkg="org.bstats.bukkit"/>
|
<allow pkg="org.bstats.bukkit"/>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import net.minecrell.gradle.licenser.LicenseExtension
|
||||||
import org.gradle.plugins.ide.idea.model.IdeaModel
|
import org.gradle.plugins.ide.idea.model.IdeaModel
|
||||||
|
|
||||||
plugins {
|
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
|
// Give intellij info about where ANTLR code comes from
|
||||||
plugins.withId("idea") {
|
plugins.withId("idea") {
|
||||||
configure<IdeaModel> {
|
configure<IdeaModel> {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren