forked from pcal43/fastback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (29 loc) · 938 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
}
architectury {
minecraft = project.minecraft_version
}
subprojects {
apply plugin: "java-library"
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
compileJava.options.encoding = compileTestJava.options.encoding = javadoc.options.encoding = "UTF-8"
repositories {
mavenCentral()
maven { url 'https://maven.fabricmc.net/' }
maven { url 'https://maven.nucleoid.xyz' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
java {
withSourcesJar()
}
}
configure(subprojects) {
apply plugin: "architectury-plugin"
apply plugin: "dev.architectury.loom"
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
}
}