-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
66 lines (56 loc) · 1.49 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
61
62
63
64
65
66
plugins {
java
kotlin("jvm") version "1.4.10"
`maven-publish`
}
group = "org.strangeway"
version = "1.1.2"
repositories {
jcenter()
}
dependencies {
compileOnly(kotlin("stdlib-jdk8"))
implementation("com.codeborne:selenide:5.15.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
pom {
name.set("Selenide Kelt")
description.set("Extension functions to make Selenide tests with Kotlin awesome")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("jreznot")
name.set("Yuriy Artamonov")
email.set("jreznot@yandex.ru")
}
}
}
}
}
}