[JS] Remove j2v8 from dependencies
This commit is contained in:
@@ -9,7 +9,6 @@ dependencies {
|
||||
compile(project(":js:js.ast"))
|
||||
compile(project(":js:js.translator"))
|
||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
compileOnly("com.eclipsesource.j2v8:j2v8_linux_x86_64:4.6.0")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -67,22 +67,6 @@ dependencies {
|
||||
|
||||
val currentOs = OperatingSystem.current()
|
||||
|
||||
val j2v8idString = when {
|
||||
currentOs.isWindows -> {
|
||||
val suffix = if (currentOs.toString().endsWith("64")) "_64" else ""
|
||||
"com.eclipsesource.j2v8:j2v8_win32_x86$suffix:4.6.0"
|
||||
}
|
||||
currentOs.isMacOsX -> "com.eclipsesource.j2v8:j2v8_macosx_x86_64:4.6.0"
|
||||
currentOs.run { isLinux || isUnix } -> "com.eclipsesource.j2v8:j2v8_linux_x86_64:4.8.0"
|
||||
else -> {
|
||||
logger.error("unsupported platform $currentOs - can not compile com.eclipsesource.j2v8 dependency")
|
||||
"j2v8:$currentOs"
|
||||
}
|
||||
}
|
||||
|
||||
testCompileOnly("com.eclipsesource.j2v8:j2v8_linux_x86_64:4.8.0")
|
||||
testRuntimeOnly(j2v8idString)
|
||||
|
||||
testRuntime(kotlinStdlib())
|
||||
testJsRuntime(kotlinStdlib("js"))
|
||||
if (!kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
|
||||
Reference in New Issue
Block a user