-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (50 loc) · 1.59 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.0.20'
id 'org.jetbrains.kotlin.kapt' version '2.0.20'
id 'org.jetbrains.kotlin.plugin.serialization' version '2.0.20'
id 'com.gradleup.shadow' version '9.0.0-beta4'
}
allprojects {
if (project.name.equals("plugin-support")) return
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'org.jetbrains.kotlin.plugin.serialization'
apply plugin: 'com.gradleup.shadow'
group = 'net.lxns'
version = '1.0-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven {
url = "https://repo.papermc.io/repository/maven-public/"
}
maven { url = uri("https://repo.codemc.io/repository/maven-releases/") }
maven { url = uri("https://repo.codemc.io/repository/maven-snapshots/") }
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
url = "https://maven.citizensnpcs.co/repo"
}
}
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3"
}
test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
shadowJar {
relocate 'kotlin', "lxns.relocate.kotlin"
}
}