-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
45 lines (35 loc) · 1.09 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds/
*/
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.20"
id("com.github.johnrengelman.shadow") version "8.1.1"
java
}
repositories {
mavenCentral()
jcenter()
maven {
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = uri("https://jitpack.io")
}
}
dependencies {
implementation(kotlin("stdlib"))
implementation("org.reflections:reflections:0.10.2")
implementation("com.github.retrooper:packetevents:v2.0.2")
implementation("com.maxmind.geoip2:geoip2:4.1.0")
implementation("org.apache.commons:commons-math3:3.6.1")
implementation("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}