0
0
mirror of https://github.com/Minestom/Minestom.git synced 2024-11-27 04:19:08 +00:00
Minestom/demo/build.gradle.kts
Matt Worzala 9e85687575 hollow-cube/gradle-rework (#8)
* in order to make an omelet, you have to break a few eggs. aka absolutely decimate the gradle project

* far more sane gradle, no publishing yet tho

* attempt maven deploy

* fix publish url and use snapshot repo

* fix secret names

* release, and properly set version

* attempt to set group correctly

* more gradle fixups

(cherry picked from commit 381d89497a8c63dc3c4d89b60a6bd98947df1477)
2024-02-09 14:27:43 -05:00

22 lines
379 B
Plaintext

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
application
alias(libs.plugins.shadow)
}
dependencies {
implementation(rootProject)
runtimeOnly(libs.bundles.logback)
}
tasks {
application {
mainClass.set("net.minestom.demo.Main")
}
withType<ShadowJar> {
archiveFileName.set("minestom-demo.jar")
}
}