EasyAuth/build.gradle

48 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2021-02-06 21:35:00 +00:00
buildscript {
repositories {
2021-12-22 19:50:53 +00:00
maven { url "https://maven.architectury.dev/" }
2021-02-06 21:35:00 +00:00
}
dependencies {
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
}
}
2021-01-14 19:14:57 +00:00
plugins {
2021-12-22 19:50:53 +00:00
id "architectury-plugin" version "3.4-SNAPSHOT"
2022-04-08 14:08:26 +00:00
id "dev.architectury.loom" version "0.11.0-SNAPSHOT" apply false
2021-01-14 19:14:57 +00:00
}
2021-01-19 19:35:44 +00:00
architectury {
2021-01-14 19:14:57 +00:00
minecraft = rootProject.minecraft_version
}
subprojects {
2021-06-23 21:20:29 +00:00
apply plugin: "dev.architectury.loom"
2021-02-06 21:35:00 +00:00
dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
mappings("net.fabricmc:yarn:${rootProject.yarn_mappings}:v2")
}
2021-01-14 19:14:57 +00:00
}
2021-02-06 21:35:00 +00:00
apply plugin: 'nebula-aggregate-javadocs'
2021-01-14 19:14:57 +00:00
allprojects {
apply plugin: "java"
apply plugin: "architectury-plugin"
archivesBaseName = rootProject.archives_base_name
version = rootProject.mod_version
group = rootProject.maven_group
2021-12-22 19:50:53 +00:00
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.release = 17
2021-01-14 19:14:57 +00:00
}
2021-01-19 19:35:44 +00:00
java {
withSourcesJar()
}
}
2021-12-22 19:50:53 +00:00
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17