forked from GravitLauncher/LauncherPrestarter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (30 loc) · 1 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
plugins {
id 'java'
}
group = 'pro.gravit.launchermodules'
version = '1.0-SNAPSHOT'
def mainClassName = "pro.gravit.launcher.launchermodules.prestarter.PrestarterModule"
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
mavenCentral()
mavenLocal()
}
dependencies {
implementation("org.apache.logging.log4j:log4j-api:2.20.0")
implementation "pro.gravit.launcher:launcher-core:5.5.0-SNAPSHOT"
implementation "pro.gravit.launcher:launcher-ws-api:5.5.0-SNAPSHOT"
implementation "pro.gravit.launcher:launchserver-api:5.5.0-SNAPSHOT"
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
jar {
manifest.attributes("Module-Main-Class": mainClassName,
"Module-Config-Class": "pro.gravit.launcher.launchermodules.prestarter.Config",
"Module-Config-Name": "Prestarter")
jar.archiveFileName = "Prestarter_module.jar"
}
test {
useJUnitPlatform()
}