2017-03-02 16:23:08 -06:00
|
|
|
group 'asmble'
|
2017-04-17 00:53:11 -05:00
|
|
|
version '0.1.0'
|
2017-03-02 16:23:08 -06:00
|
|
|
|
|
|
|
buildscript {
|
2017-06-08 11:55:03 -05:00
|
|
|
ext.kotlin_version = '1.1.2'
|
2017-03-21 17:53:32 -05:00
|
|
|
ext.asm_version = '5.2'
|
2017-03-02 16:23:08 -06:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-24 18:49:54 -05:00
|
|
|
allprojects {
|
|
|
|
apply plugin: 'java'
|
2017-03-26 16:40:30 -05:00
|
|
|
|
2017-04-24 18:49:54 -05:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2017-03-02 16:23:08 -06:00
|
|
|
}
|
|
|
|
|
2017-04-26 15:35:34 -05:00
|
|
|
project(':emscripten-runtime') {
|
|
|
|
dependencies {
|
|
|
|
compile project(':annotations')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-24 18:49:54 -05:00
|
|
|
project(':compiler') {
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
applicationName = "asmble"
|
|
|
|
mainClassName = "asmble.cli.MainKt"
|
|
|
|
|
|
|
|
distTar.archiveName = 'asmble.tar'
|
|
|
|
distZip.archiveName = 'asmble.zip'
|
|
|
|
|
|
|
|
dependencies {
|
2017-04-26 15:35:34 -05:00
|
|
|
compile project(':emscripten-runtime')
|
|
|
|
|
2017-04-24 18:49:54 -05:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
|
|
compile "org.ow2.asm:asm-tree:$asm_version"
|
|
|
|
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"
|
|
|
|
}
|
2017-03-02 16:23:08 -06:00
|
|
|
}
|