-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (43 loc) · 987 Bytes
/
build.gradle
File metadata and controls
52 lines (43 loc) · 987 Bytes
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
plugins {
id 'java'
id 'groovy'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'cam72cam.universalmodcore'
//version '0.1.0'
sourceCompatibility = 1.8
configurations {
shade
implementation.extendsFrom shade
}
repositories {
mavenCentral()
}
dependencies {
shade 'org.apache.commons:commons-io:1.3.2'
shade 'com.google.code.gson:gson:2.8.6'
shade 'org.eclipse.jgit:org.eclipse.jgit:5.13.1.202206130422-r'
shade 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:5.13.2.202306221912-r'
}
shadowJar {
archiveClassifier = ''
configurations = [project.configurations.shade]
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
mergeServiceFiles()
}
assemble.dependsOn shadowJar
jar {
manifest {
attributes(
'Main-Class': 'cam72cam.universalmodcore.Setup'
)
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}