| /*
|
| * This file was generated by the Gradle 'init' task.
|
| *
|
| * This generated file contains a sample Java application project to get you started.
|
| * For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
|
| * User Manual available at https://docs.gradle.org/8.1.1/userguide/building_java_projects.html
|
| */
|
|
|
| plugins {
|
| id 'java'
|
| id 'application'
|
| id 'com.github.johnrengelman.shadow' version '8.1.1'
|
| }
|
|
|
| apply plugin: 'java'
|
| apply plugin: 'application'
|
| apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
| repositories {
|
| mavenCentral()
|
| maven { url 'https://jitpack.io' }
|
| }
|
|
|
| dependencies {
|
| implementation 'com.github.Minestom:Minestom:c5047b8037'
|
| implementation 'com.github.TogAr2:MinestomPvP:35e5661e53'
|
| }
|
|
|
| jar {
|
| manifest {
|
| attributes 'Main-Class': 'minestompvp.kitpvp.App',
|
| 'Multi-Release': true
|
| }
|
| duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
| }
|
|
|
| java {
|
| toolchain {
|
| languageVersion = JavaLanguageVersion.of(17)
|
| }
|
| }
|
|
|
| application {
|
| mainClass = 'minestompvp.kitpvp.App'
|
| }
|