forked from cufyorg/http
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (36 loc) · 1.02 KB
/
build.gradle.kts
File metadata and controls
44 lines (36 loc) · 1.02 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
plugins {
id("java")
id("groovy")
id("org.jetbrains.kotlin.jvm").version("1.6.0")
id("maven-publish")
}
group = "org.cufy"
version = "1.0.0"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains:annotations:22.0.0")
implementation("com.squareup.okhttp3:okhttp:4.9.3")
implementation("org.codehaus.groovy:groovy-all:3.0.8")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
testImplementation("junit:junit:4.13.2")
}
afterEvaluate {
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
groupId = "org.cufy"
artifactId = "http"
version = "1.0.0"
}
}
}
}