Build: Fix compatibility with shadow plugin
Apply java-base plugin since shadow task requires sourcesets
This commit is contained in:
@@ -95,7 +95,7 @@ class KotlinModuleShadowTransformer(private val logger: Logger) : Transformer {
|
||||
override fun hasTransformedResource(): Boolean =
|
||||
data.isNotEmpty()
|
||||
|
||||
override fun modifyOutputStream(os: ZipOutputStream) {
|
||||
override fun modifyOutputStream(os: ZipOutputStream, preserveFileTimestamps: Boolean) {
|
||||
for ((path, bytes) in data) {
|
||||
os.putNextEntry(ZipEntry(path))
|
||||
os.write(bytes)
|
||||
|
||||
Reference in New Issue
Block a user