-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (48 loc) · 1.36 KB
/
build.gradle
File metadata and controls
54 lines (48 loc) · 1.36 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'net.relismdev'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "https://maven.andante.dev/releases/"
}
maven {
name "pixelServicesReleases"
url "https://maven.pixel-services.com/releases"
}
repositories {
maven { url 'https://jitpack.io' }
}
}
jar {
manifest {
attributes(
'Main-Class': 'net.relismdev.FilesServer'
)
}
}
shadowJar {
archiveClassifier.set('') // Removes the '-all' suffix from the JAR
mergeServiceFiles() // If needed for service files
dependencies {
include(dependency('com.pixelservices:flash'))
include(dependency('com.pixelservices:PTK'))
include(dependency('com.github.Carleslc.Simple-YAML:Simple-Yaml'))
include(dependency('com.google.code.gson:gson'))
}
}
dependencies {
implementation 'com.pixelservices:flash:1.4.3'
implementation 'com.pixelservices:PTK:1.3.2'
implementation 'com.github.Carleslc.Simple-YAML:Simple-Yaml:1.8.4'
implementation 'com.google.code.gson:gson:2.12.1'
implementation("net.mcbrawls.inject:http:3.1.2")
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}