-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
44 lines (37 loc) · 995 Bytes
/
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
plugins {
kotlin("jvm").version("1.3.61")
`java-library`
`maven-publish`
}
group = "com.jacknie"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("com.jcraft:jsch:0.1.55")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
testImplementation("io.mockk:mockk:1.9")
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
artifactId = "file-store"
from(components["java"])
versionMapping {
usage("java-api") {
fromResolutionOf("runtimeClasspath")
}
usage("java-runtime") {
fromResolutionResult()
}
}
}
}
repositories {
mavenLocal()
}
}