blob: 31bf9f41c4086b4d33506813512979b1b29a24da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
// testImplementation project(":core:testApi")
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlin_version
}
|