[PowerAssert] Integrate with build

^KT-63617 Fixed
This commit is contained in:
Brian Norman
2023-11-17 10:24:24 -06:00
committed by Space Team
parent c3a60b127e
commit aa34282efb
24 changed files with 655 additions and 30 deletions
+44
View File
@@ -0,0 +1,44 @@
description = "Kotlin Power-Assert Compiler Plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
embedded(project(":kotlin-power-assert-compiler-plugin.backend")) { isTransitive = false }
embedded(project(":kotlin-power-assert-compiler-plugin.cli")) { isTransitive = false }
testImplementation(project(":kotlin-power-assert-compiler-plugin.backend"))
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
testImplementation(projectTests(":compiler:tests-common-new"))
testRuntimeOnly(commonDependency("org.codehaus.woodstox:stax2-api"))
testRuntimeOnly(commonDependency("com.fasterxml:aalto-xml"))
}
optInToExperimentalCompilerApi()
sourceSets {
"main" { none() }
"test" {
projectDefault()
generatedTestDir()
}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
testsJar()
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
}