-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle.kts
38 lines (30 loc) · 1.08 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("com.github.johnrengelman.shadow") version ("2.0.4")
}
publishing {
publications {
(findByName("mavenJava") as MavenPublication).artifact(tasks.findByName("shadowJar")!!)
}
}
tasks.withType<ShadowJar> {
dependsOn("jar")
classifier = "shadowJar"
archiveName = "$baseName-$version.$extension"
// Change the output folder of the plugin.
// destinationDir = File("C:\\temp\\BungeeCord\\plugins")
}
repositories {
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
dependencies {
implementation(project(":mccoroutine-bungeecord-api"))
implementation(project(":mccoroutine-bungeecord-core"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.3.9")
compileOnly("net.md-5:bungeecord-api:1.16-R0.5-SNAPSHOT")
testImplementation("net.md-5:bungeecord-api:1.16-R0.5-SNAPSHOT")
}