Added documentation for MagicApiIntrinsics.voidMagicApiCall
Remove mavenLocal() from repos
This commit is contained in:
@@ -9,6 +9,16 @@ import kotlin.SinceKotlin;
|
||||
|
||||
@SinceKotlin(version = "1.2")
|
||||
public class MagicApiIntrinsics {
|
||||
|
||||
/**
|
||||
* This method is used as a reified marker for plugin-defined compiler intrinsics.
|
||||
* See JvmIrIntrinsicExtension.kt in the compiler:backend:jvm:codegen
|
||||
*
|
||||
* @param data Arbitrary data to pass to plugin. Must be string constant (loaded by LDC instruction).
|
||||
*/
|
||||
public static void voidMagicApiCall(Object data) {
|
||||
}
|
||||
|
||||
public static <T> T anyMagicApiCall(int id) {
|
||||
return null;
|
||||
}
|
||||
@@ -24,9 +34,6 @@ public class MagicApiIntrinsics {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void voidMagicApiCall(Object data) {
|
||||
}
|
||||
|
||||
public static int intMagicApiCall(Object data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -5,10 +5,6 @@ plugins {
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
embedded(project(":kotlinx-serialization-compiler-plugin.common"))
|
||||
embedded(project(":kotlinx-serialization-compiler-plugin.k1"))
|
||||
|
||||
Reference in New Issue
Block a user