6 url = 'https://maven.fabricmc.net/'
10 url = 'https://server.bbkr.space/artifactory/libs-release/'
14 classpath "net.fabricmc:fabric-loom:0.11-SNAPSHOT"
15 classpath "io.github.juuxel:loom-quiltflower:1.6.0"
19 apply plugin: 'fabric-loom'
20 apply plugin: 'io.github.juuxel.loom-quiltflower'
25 version project.buildVersion + '-' + project.mcVersion
26 archivesBaseName = 'BBOutlineReloaded'
28 sourceCompatibility = JavaVersion.VERSION_17
29 targetCompatibility = JavaVersion.VERSION_17
31 tasks.withType(JavaCompile).configureEach {
32 // ensure that the encoding is set to UTF-8, no matter what the system default is
33 // this fixes some edge cases with special characters not displaying correctly
34 // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
35 // If Javadoc is generated, this must be specified in that task too.
36 it.options.encoding = "UTF-8"
38 it.options.release = 17
42 minecraft 'com.mojang:minecraft:' + project.mcVersion
43 mappings 'net.fabricmc:yarn:' + project.mcVersion + '+build.1:v2'
44 modImplementation 'net.fabricmc:fabric-loader:0.13.3'
48 accessWidenerPath = file("src/main/resources/bbor.accesswidener")
52 filesMatching('fabric.mod.json') {
53 expand version: project.version
59 languageVersion = JavaLanguageVersion.of(17)
67 "Main-Class": "com.irtimaled.bbor.Main",
68 "Specification-Title": "bbor",
69 "Specification-Vendor": "Irtimaled",
70 "Specification-Version": "1", // We are version 1 of ourselves
71 "Implementation-Title": project.name,
72 "Implementation-Version": "${version}",
73 "Implementation-Vendor": "Irtimaled",
74 "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
80 remapJar.classifier = 'fabric'
84 migrateMappings.configure {
85 outputDir = project.file("src/main/java")