-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (58 loc) · 1.73 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
*/
plugins {
id 'java'
id 'fabric-loom' version '0.5-SNAPSHOT' apply false
}
allprojects {
repositories {
maven {
name = "Ladysnake Libs"
url = "https://dl.bintray.com/ladysnake/libs"
}
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'fabric-loom'
version = '3.0.0'
archivesBaseName = 'arcanecraft'
group = 'org.example'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = "sources"
from sourceSets.main.allSource
}
jar {
from "LICENSE"
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
minecraft "com.mojang:minecraft:${project.mc_version}"
mappings "net.fabricmc:yarn:${project.mc_version}+build.${project.yarn_build}:v2"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fapi_version}"
modImplementation "net.fabricmc:fabric-loader:0.10.6+build.214"
modImplementation "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-base:${project.cca_version}"
modImplementation "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-entity:${project.cca_version}"
modImplementation ("io.github.prospector:modmenu:${project.modmenu_version}") {
exclude module: 'fabric-api'
}
}
}