-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle.kts
39 lines (31 loc) · 1.1 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
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\\Sponge\\Sponge-2825-7.1.6\\mods")
}
repositories {
maven {
url = uri("https://repo.spongepowered.org/maven")
}
}
dependencies {
implementation(project(":mccoroutine-sponge-api"))
implementation(project(":mccoroutine-sponge-core"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.2.2")
compileOnly("com.google.guava:guava:23.0")
compileOnly("org.spongepowered:spongeapi:7.2.0")
testImplementation("org.spongepowered:spongeapi:7.2.0")
}