This repository was archived by the owner on Mar 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (57 loc) · 1.78 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
70
71
72
plugins {
id 'java-library'
id 'maven'
}
group 'me.xtrm.delta'
version '4.0.0-LOCAL'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.eclipse.org/content/groups/releases/' }
maven { url 'https://libraries.minecraft.net/' }
maven { url 'https://jitpack.io/' }
maven { url 'https://repo.gradle.org/gradle/libs-releases' }
}
dependencies {
implementation 'org.ow2.asm:asm-debug-all:5.0.3'
implementation 'org.apache.logging.log4j:log4j-api:2.0-beta9'
implementation 'com.google.code.gson:gson:2.2.4'
api 'com.github.MeteorDevelopment:starscript:0.1.5'
api 'com.github.nkosmos:starlink-spi:1.1.0'
api 'com.github.xTrM-EN:mcversioning:4ea7d223b0'
api 'com.github.nkosmos:starboard:1.6.0'
api 'com.github.xTrM-EN:event-spi:1.0.0'
api 'com.mojang:brigadier:1.0.17'
api('com.github.Shyrogan:Post:1.1.2') {
exclude module: 'asm'
exclude module: 'asm-tree'
}
api 'org.eclipse.jgit:org.eclipse.jgit:5.12.0.202106070339-r'
api 'org.gradle:gradle-tooling-api:4.9'
api 'org.apache.maven.shared:maven-invoker:3.1.0'
/* https://projectlombok.org */
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
jar {
manifest.attributes(
"Specification-Title": "delta-api",
"Specification-Version": project.version,
"Specification-Vendor": "xTrM_"
)
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}