Miscellaneous improvements to build scripts.

This commit is contained in:
MattBDev
2021-01-18 15:58:50 -05:00
parent b4d7562b87
commit 2ce493ae68
7 changed files with 73 additions and 62 deletions

View File

@ -6,11 +6,11 @@ fun Project.applyCommonConfiguration() {
version = rootProject.version
repositories {
mavenCentral()
mavenLocal()
maven { url = uri("https://mvn.intellectualsites.com/content/groups/public/") }
maven { url = uri("https://plotsquared.com/mvn/") }
maven { url = uri("https://maven.enginehub.org/repo/")
maven {
url = uri("https://maven.enginehub.org/repo/")
content {
excludeGroup("net.milkbowl.vault")
}

View File

@ -15,7 +15,7 @@ import org.gradle.kotlin.dsl.register
fun Project.applyLibrariesConfiguration() {
applyCommonConfiguration()
apply(plugin = "java-base")
apply(plugin = "maven")
apply(plugin = "maven-publish")
apply(plugin = "com.github.johnrengelman.shadow")
configurations {

View File

@ -21,7 +21,7 @@ fun Project.applyPlatformAndCoreConfiguration() {
apply(plugin = "java")
apply(plugin = "eclipse")
apply(plugin = "idea")
apply(plugin = "maven")
apply(plugin = "maven-publish")
// apply(plugin = "checkstyle")
apply(plugin = "com.github.johnrengelman.shadow")