This repository was archived by the owner on Oct 1, 2021. It is now read-only.
forked from CultOfClang/KotlinSpice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
60 lines (50 loc) · 1.67 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import com.mineinabyss.sharedSetup
val kotlinVersion: String by project
plugins {
`java-platform`
`maven-publish`
id("com.github.ben-manes.versions") version "0.39.0"
id("com.mineinabyss.shared-gradle") version "0.0.6"
}
version = kotlinVersion
sharedSetup {
addGithubRunNumber()
}
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://minecraft.curseforge.com/api/maven/")
maven("https://erethon.de/repo/")
}
dependencies {
constraints {
api("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
api("org.jetbrains.kotlinx:kotlinx-serialization-cbor:1.2.2")
api("com.charleskorn.kaml:kaml:0.35.2")
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.5.1")
api("org.jetbrains.exposed:exposed-core:0.33.1")
api("org.jetbrains.exposed:exposed-dao:0.33.1")
api("org.jetbrains.exposed:exposed-jdbc:0.33.1")
api("de.erethon:headlib:3.0.6")
api("com.github.okkero:skedule:1.2.6")
api("org.nield:kotlin-statistics:1.2.1")
api("org.xerial:sqlite-jdbc:3.36.0.1")
}
}
publishing {
repositories {
maven("https://repo.mineinabyss.com/releases") {
credentials {
username = project.findProperty("mineinabyssMavenUsername") as String?
password = project.findProperty("mineinabyssMavenPassword") as String?
}
}
}
publications {
create<MavenPublication>("maven") {
from(components["javaPlatform"])
}
}
}