-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (56 loc) · 1.47 KB
/
build.gradle
File metadata and controls
64 lines (56 loc) · 1.47 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
plugins {
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group 'dev.hephaestus'
version '0.6.1'
java {
withSourcesJar()
}
repositories {
mavenCentral()
maven {
name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release'
}
maven {
name = 'Hephaestus.dev'
url = 'https://hephaestus.dev/release'
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation(shadow('org.quiltmc:quilt-json5:1.0.0'))
implementation(shadow('org.apache.logging.log4j:log4j-core:2.14.1'))
implementation(shadow('org.apache.xmlgraphics:batik-all:1.14'))
implementation(shadow('org.graalvm.js:js:21.1.0'))
implementation(shadow('org.graalvm.js:js-scriptengine:21.1.0'))
implementation(shadow('com.github.yuchi:npm-semver:1.0.0'))
implementation('dev.hephaestus:proximity-mtg:1.0.55')
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'dev.hephaestus.proximity.Main',
'Multi-Release': 'true',
'Implementation-Version': project.version
)
}
}
jar.archiveClassifier.set("slim")
shadowJar.archiveClassifier.set("")
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}