-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (30 loc) · 925 Bytes
/
build.gradle
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.4.30'
id "com.github.johnrengelman.shadow" version "6.0.0"
id "io.codearte.nexus-staging" version "0.30.0"
id "org.jetbrains.dokka" version "1.4.30"
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.30"
implementation "systems.danger:danger-kotlin-sdk:1.2"
testImplementation "com.google.truth:truth:1.0.1"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
// publishing
ext.libProperties = new Properties()
ext.libProperties.load(file("${rootDir}/lib.properties").newReader())
ext {
PUBLISH_ARTIFACT_ID = 'danger-kotlin-commit-lint'
POM_DESCRIPTION = 'Plugin for danger-kotlin linting your commits'
}
apply from: "${rootProject.projectDir}/gradle/mavencentral/publish.gradle"