2021-02-06 21:35:00 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven { url "https://maven.shedaniel.me/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-01-14 19:14:57 +00:00
|
|
|
plugins {
|
2021-06-29 20:43:20 +00:00
|
|
|
id "architectury-plugin" version "3.2.112"
|
|
|
|
id "dev.architectury.loom" version "0.9.0.131" apply false
|
2021-01-14 19:14:57 +00:00
|
|
|
}
|
|
|
|
|
2021-02-06 21:35:00 +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-06-23 21:20:29 +00:00
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
|
|
it.options.encoding = "UTF-8"
|
|
|
|
it.options.release = 8
|
2021-01-14 19:14:57 +00:00
|
|
|
}
|
2021-01-19 19:35:44 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
withSourcesJar()
|
|
|
|
}
|
|
|
|
}
|