Use asm:6.0 in kotlinp
Some class files can't be read with asm:4.0. Make shadowJar when assembling the project.
This commit is contained in:
@@ -12,8 +12,7 @@ shadows.extendsFrom(configurations.getByName("compile"))
|
||||
dependencies {
|
||||
compile(project(":kotlinx-metadata"))
|
||||
compile(project(":kotlinx-metadata-jvm"))
|
||||
// We use an older version of ASM on purpose, to reduce the final application size
|
||||
compile("org.ow2.asm:asm:4.0")
|
||||
compile("org.ow2.asm:asm:6.0")
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompile(projectTests(":generators:test-generator"))
|
||||
}
|
||||
@@ -38,3 +37,9 @@ val shadowJar by task<ShadowJar> {
|
||||
attributes["Main-Class"] = "org.jetbrains.kotlin.kotlinp.Main"
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
"assemble" {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user