-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (38 loc) · 1013 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
38
39
40
41
42
43
44
45
46
47
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java-library'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo-new.spongepowered.org/repository/maven-public/')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
task plugin {
finalizedBy build
}
jar {
archiveClassifier = 'uber'
archiveFileName = "CoreToSponge.jar"
targetCompatibility = JavaLanguageVersion.of(11);
sourceCompatibility = JavaLanguageVersion.of(11);
}
dependencies {
api project(":TranslateCore")
compileOnly 'org.spongepowered:configurate-core:4.0.0'
compileOnly 'org.spongepowered:configurate-yaml:4.0.0'
compileOnly 'net.kyori:adventure-text-serializer-plain:4.0.0-SNAPSHOT'
compileOnly 'org.spongepowered:spongeapi:8.1.0'
}
group = 'org.ships'
version = '1.0-SNAPSHOT'
description = 'CoreToSponge'