Setup separate sourceset for unsigned integer types
Build jar with unsigned types and put it to dist
This commit is contained in:
@@ -26,11 +26,18 @@ sourceSets {
|
||||
srcDir 'test'
|
||||
}
|
||||
}
|
||||
unsigned {
|
||||
kotlin {
|
||||
srcDir '../unsigned/src'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile project(":kotlin-test:kotlin-test-common")
|
||||
testCompile project(":kotlin-test:kotlin-test-annotations-common")
|
||||
|
||||
unsignedCompile sourceSets.main.output
|
||||
}
|
||||
|
||||
compileKotlinCommon {
|
||||
@@ -47,6 +54,14 @@ compileKotlinCommon {
|
||||
}
|
||||
}
|
||||
|
||||
compileUnsignedKotlinCommon {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += [
|
||||
"-XXLanguage:+InlineClasses"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
kotlin.experimental.coroutines 'enable'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user