aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle-integration-tests/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle-integration-tests/build.gradle.kts')
-rw-r--r--integration-tests/gradle-integration-tests/build.gradle.kts45
1 files changed, 0 insertions, 45 deletions
diff --git a/integration-tests/gradle-integration-tests/build.gradle.kts b/integration-tests/gradle-integration-tests/build.gradle.kts
deleted file mode 100644
index 7cb96738..00000000
--- a/integration-tests/gradle-integration-tests/build.gradle.kts
+++ /dev/null
@@ -1,45 +0,0 @@
-val dokkaPlugin: Configuration by configurations.creating
-val dokkaCore: Configuration by configurations.creating
-val kotlinGradle: Configuration by configurations.creating
-
-repositories {
- maven(url = "https://kotlin.bintray.com/kotlin-plugin")
-}
-
-dependencies {
- val kotlin_version: String by project
- testCompileOnly("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
- testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
- testImplementation("junit:junit:4.13")
- testImplementation(gradleTestKit())
-
- dokkaPlugin(project(path = ":runners:gradle-plugin"))
- dokkaCore(project(path = ":core:dependencies", configuration = "shadow"))
- dokkaCore(project(path = ":core"))
- kotlinGradle("org.jetbrains.kotlin:kotlin-gradle-plugin")
-}
-
-val createClasspathManifest by tasks.registering {
- val outputDir = file("$buildDir/$name")
- inputs.files(dokkaPlugin + dokkaCore)
- outputs.dir(outputDir)
-
- doLast {
- outputDir.mkdirs()
- file("$outputDir/dokka-plugin-classpath.txt").writeText(dokkaPlugin.joinToString("\n"))
- file("$outputDir/fatjar.txt").writeText(dokkaCore.joinToString("\n"))
- file("$outputDir/kotlin-gradle.txt").writeText(kotlinGradle.joinToString("\n"))
- }
-}
-
-tasks {
- testClasses {
- dependsOn(createClasspathManifest)
- }
-
- test {
- systemProperty("android.licenses.overwrite", project.findProperty("android.licenses.overwrite") ?: "")
- inputs.dir(file("testData"))
- exclude("*") // TODO: Remove this exclude when tests are migrated
- }
-}