aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc8/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc8/build.gradle')
-rw-r--r--plugins/javadoc8/build.gradle14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/javadoc8/build.gradle b/plugins/javadoc8/build.gradle
new file mode 100644
index 00000000..e44fc94a
--- /dev/null
+++ b/plugins/javadoc8/build.gradle
@@ -0,0 +1,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
+} \ No newline at end of file