-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
47 lines (38 loc) · 1.29 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.4.21"
id("org.jetbrains.intellij") version "0.6.5"
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html
id("io.gitlab.arturbosch.detekt") version "1.15.0"
// ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
}
group = "io.github.ricardormdev.clockifyplugin"
version = "1.0.2"
tasks.withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
listOf("compileKotlin", "compileTestKotlin").forEach {
tasks.getByName<KotlinCompile>(it) {
kotlinOptions.jvmTarget = "1.8"
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("org.jetbrains.kotlin:kotlin-reflect:1.4.21")
implementation("com.konghq:unirest-java:3.11.09")
implementation("com.auth0:java-jwt:3.12.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1")
testImplementation("io.mockk:mockk:1.10.5")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1")
}
intellij {
version = "2020.1"
pluginName = "Clockify Plugin"
updateSinceUntilBuild = false
}