AltAuth/build.gradle

63 Zeilen
1.6 KiB
Groovy

2022-09-22 21:41:22 +02:00
// SPDX-License-Identifier: MIT
2022-09-22 18:09:24 +02:00
plugins {
// Adding the base plugin fixes the following gradle warnings in IntelliJ:
//
// Warning: root project 'module-work-multi': Unable to resolve all content root directories
// Details: java.lang.IllegalStateException: No value has been specified for this provider.
//
// Warning: root project 'module-work-multi': Unable to resolve additional project configuration.
// Details: java.lang.IllegalStateException: No value has been specified for this provider.
id 'base'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.0.0'
2022-09-23 21:02:46 +02:00
id 'fabric-loom' version '1.0-SNAPSHOT' apply false
2022-09-22 18:09:24 +02:00
}
group 'de.lixfel'
2022-09-23 21:02:46 +02:00
version project.version
2022-09-22 18:09:24 +02:00
ext {
buildName = 'AltAuth'
uberJarName = "${buildName}.jar"
jarName = "${buildName}-pseudo.jar"
}
compileJava.options.encoding = 'UTF-8'
mainClassName = ''
allprojects {
repositories {
mavenCentral()
maven { url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/') }
2022-09-23 21:02:46 +02:00
maven { url 'https://maven.fabricmc.net/' }
maven { url "https://maven.shedaniel.me/" }
maven { url "https://maven.terraformersmc.com/releases/" }
2022-10-06 07:55:04 +02:00
maven { url 'https://libraries.minecraft.net' }
2022-09-23 21:02:46 +02:00
}
configurations {
compileClasspath
}
}
subprojects {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release = 8
2022-09-22 18:09:24 +02:00
}
}
dependencies {
implementation project(":bukkit")
implementation project(":bungee")
2022-09-23 21:02:46 +02:00
implementation project(":fabric")
2022-09-22 18:09:24 +02:00
implementation project(":common")
}