forked from Chakyl/EmbersTextAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (34 loc) · 1.12 KB
/
build.gradle
File metadata and controls
40 lines (34 loc) · 1.12 KB
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
plugins {
id 'java-library'
id 'maven-publish'
}
allprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group = 'net.tysontheember.emberstextapi'
version = findProperty('mod_version') ?: '2.1.0'
repositories {
mavenCentral()
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://maven.neoforged.net/releases' }
maven { url = 'https://maven.fabricmc.net/' }
maven { url = 'https://maven.parchmentmc.org' }
maven { url = 'https://maven.shedaniel.me/' }
maven { url = 'https://maven.terraformersmc.com/' }
maven { url = 'https://cursemaven.com' }
maven { url = 'https://api.modrinth.com/maven' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
maven { url = 'https://maven.moddingx.org' }
}
java {
toolchain.languageVersion = JavaLanguageVersion.of(17)
withSourcesJar()
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
}
// Don't build root project
tasks.named('jar') {
enabled = false
}