Create a valid jar in KaptIncrementalWithIsolatingApt test
This commit is contained in:
committed by
Yan Zhulanow
parent
77ba9a1bbb
commit
8e4bc06b3c
+5
-1
@@ -98,7 +98,11 @@ class KaptIncrementalWithIsolatingApt : KaptIncrementalIT() {
|
||||
@Test
|
||||
fun testUnchangedAnnotationProcessorClasspathButContentChanged() {
|
||||
val project = getProject()
|
||||
val processorJar = project.projectDir.resolve("processor.jar").also { it.createNewFile() }
|
||||
val processorJar = project.projectDir.resolve("processor.jar").also {
|
||||
ZipOutputStream(it.outputStream()).use {
|
||||
// create an empty jar
|
||||
}
|
||||
}
|
||||
project.gradleBuildScript().appendText(
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user