[Gradle, JS] Add more information on Gradle exception
^KT-41566 fixed
This commit is contained in:
+6
-1
@@ -113,7 +113,12 @@ constructor(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
throw GradleException("Library can be produced only for IR compiler")
|
throw GradleException(
|
||||||
|
"""
|
||||||
|
Library can be produced only for IR compiler.
|
||||||
|
Use `kotlin.js.compiler=ir` Gradle property or `js(IR)` target declaration.
|
||||||
|
"""
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
internal fun getIrBinaries(
|
internal fun getIrBinaries(
|
||||||
|
|||||||
Reference in New Issue
Block a user