Setup dist task to assemble libs for compiler distribution.
Produce special stdlib artifact with annotations for dist. Put js outputs to dist, they're required for JS backend tests. Use kotlin-compiler for maven, which has all required dependencies bundled. Clean local directory repository on clean. Change paths in tests to compiled artifacts.
This commit is contained in:
@@ -228,6 +228,20 @@ artifacts {
|
||||
}
|
||||
|
||||
|
||||
dist {
|
||||
[mergedJar, sourcesJar].forEach {
|
||||
from(it)
|
||||
// legacy
|
||||
from(it) {
|
||||
rename("kotlin-stdlib-js", 'kotlin-jslib')
|
||||
}
|
||||
}
|
||||
from(compileJs) {
|
||||
into '../../js'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
karma {
|
||||
dependencies(['qunitjs@1.23.1', 'karma-teamcity-reporter@0.1.2'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user