-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (36 loc) · 1.15 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
plugins {
kotlin("jvm") version "1.4.21"
`maven-publish`
}
group = "v3"
version = "1.5.0"
repositories {
jcenter()
maven { url = uri("https://kotlin.bintray.com/ktor") }
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.21")
implementation("io.ktor:ktor-server-core:$version")
implementation("io.ktor:ktor-websockets:$version")
implementation("io.ktor:ktor-gson:$version")
implementation("ch.qos.logback:logback-classic:1.2.1")
implementation("com.expediagroup:graphql-kotlin-server:4.0.0-alpha.11")
testImplementation("io.ktor:ktor-server-tests:$version")
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/V3lop5/graphql-ktor-feature")
credentials {
username = project.findProperty("gpr.username") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.token") as String? ?: System.getenv("TOKEN")
}
}
}
publications {
create<MavenPublication>("gpr") {
from(components["kotlin"])
}
}
}