This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (44 loc) · 1.93 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins {
id 'nebula.kotlin' version '1.1.0' apply false
// id 'org.jetbrains.kotlin.jvm' version '1.1.0' apply false
id 'nebula.facet' version '3.3.0' apply false
id 'nebula.dependency-lock' version '4.5.1' apply false
id 'nebula.resolution-rules' version '2.4.2' apply false
id 'nebula.maven-resolved-dependencies' version '4.9.1' apply false
}
subprojects {
apply plugin: 'nebula.kotlin'
// apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'nebula.resolution-rules'
apply plugin: 'nebula.dependency-lock'
apply plugin: 'nebula.facet'
apply plugin: 'nebula.maven-resolved-dependencies'
apply plugin: 'idea'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: version_kotlin
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: version_kotlin
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: version_jackson
resolutionRules group: 'com.netflix.nebula', name: 'gradle-resolution-rules', version: version_nebula_resolution
resolutionRules files("${rootDir}/gradle-local-dependency-rules.json")
compile group: 'org.slf4j', name: 'slf4j-api', version: version_slf4j
runtime group: 'ch.qos.logback', name: 'logback-classic', version: version_logback
testCompile group: 'junit', name: 'junit', version: version_junit
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test', version: version_kotlin
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: version_kotlin
}
nebulaResolutionRules {
optional = ['slf4j-bridge']
}
repositories {
mavenCentral()
}
/*
compileKotlin {
kotlinOptions {
jvmTarget = 1.8
}
}
*/
}