blob: cc1e5c293232f095e935243a9784f92c9a654d51 (
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
}
|