-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
45 lines (38 loc) · 1.15 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 org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.0-RC"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
}
group = "de.jpx3"
version = "0.1.0"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://repo.opencollab.dev/maven-snapshots")
maven {
name = "github"
url = uri("https://maven.pkg.github.com/intave/access")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
compileOnly("de.jpx3.intave.access:intave-access:14.3.5")
compileOnly("org.geysermc.floodgate:api:2.0-SNAPSHOT")
}
bukkit {
name = "IntaveBedrock"
main = "de.intave.bedrock.BedrockSupportPlugin"
version = "${project.version}"
softDepend = listOf("Intave", "IntaveBootstrap", "floodgate")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}