mirror of
https://github.com/fluencelabs/asmble
synced 2025-03-16 03:00:51 +00:00
Update Kotlin and ASM
This commit is contained in:
parent
326a0cdaba
commit
6352efaa96
@ -2,8 +2,8 @@ group 'asmble'
|
||||
version '0.2.0'
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.2.51'
|
||||
ext.asm_version = '5.2'
|
||||
ext.kotlin_version = '1.2.61'
|
||||
ext.asm_version = '6.2.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -55,7 +55,6 @@ project(':compiler') {
|
||||
compile "org.ow2.asm:asm-util:$asm_version"
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
testCompile "org.ow2.asm:asm-debug-all:$asm_version"
|
||||
}
|
||||
|
||||
publishSettings(project, 'asmble-compiler', 'Asmble WASM Compiler', false)
|
||||
|
@ -201,7 +201,7 @@ open class Linker {
|
||||
"instance" + mod.name.javaIdent.capitalize(), mod.ref.asmDesc),
|
||||
InsnNode(Opcodes.ARETURN)
|
||||
)
|
||||
ctx.cls.methods.plusAssign(func)
|
||||
ctx.cls.methods.plusAssign(func.toMethodNode())
|
||||
}
|
||||
|
||||
class ModuleClass(val cls: Class<*>, overrideName: String? = null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user