blob: e44fc94aa8676933c9bc557369fd20743edb6210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import javax.tools.ToolProvider
dependencies {
compile project(':core')
compile "com.github.olivergondza:maven-jdk-tools-wrapper:0.1"
def toolsJar = files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs().findAll { it.path.endsWith("jar") })
compileOnly toolsJar
testCompile toolsJar
testCompile project(":core").sourceSets.test.output
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlin_version
}
|