-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (42 loc) · 1.32 KB
/
build.gradle.kts
File metadata and controls
53 lines (42 loc) · 1.32 KB
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
plugins {
kotlin("jvm") version "1.6.0"
id("com.github.johnrengelman.shadow") version "7.1.0"
`maven-publish`
}
group = "org.bundleproject"
version = "0.1.2"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
dependencies {
val ktorVersion: String by project
val kotlinVersion: String by project
implementation(kotlin("stdlib-jdk8", kotlinVersion))
implementation(kotlin("reflect", kotlinVersion))
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
implementation("io.ktor:ktor-client-gson:$ktorVersion")
implementation("io.github.microutils:kotlin-logging-jvm:2.1.0")
implementation("ch.qos.logback:logback-classic:1.2.7")
implementation("org.bundleproject:libversion:0.0.2")
}
tasks {
shadowJar {
archiveBaseName.set("launchwrapper")
archiveClassifier.set("")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "org.bundleproject"
artifactId = "launchwrapper"
version = project.version as String
artifact(shadowJar) {
builtBy(shadowJar)
}
}
}
}
}