-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
45 lines (37 loc) · 1.07 KB
/
build.gradle.kts
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "dev.emortal"
version = "1.0.0"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
maven {
url = uri("https://repo.emortal.dev/snapshots")
}
}
dependencies {
implementation("com.github.stephengold:Libbulletjme:20.2.0")
// implementation("com.badlogicgames.gdx:gdx-bullet:1.12.0")
// implementation("com.badlogicgames.gdx:gdx-bullet-platform:1.12.0:natives-desktop")
implementation("net.minestom:minestom-snapshots:e8e22a2b15")
implementation("dev.emortal:rayfast:928feb1")
implementation("ch.qos.logback:logback-classic:1.5.1")
implementation("net.logstash.logback:logstash-logback-encoder:7.4")
}
tasks {
named<ShadowJar>("shadowJar") {
archiveBaseName.set("BlockPhysics")
mergeServiceFiles()
manifest {
attributes(mapOf("Main-Class" to "dev.emortal.Main"))
}
}
}
tasks {
build {
dependsOn(shadowJar)
}
}