Multisrc bugfix and genkan refactor (#5707)
* themesource bugfix, refactor genkan
* revert 3da46570aa
This commit is contained in:
16
lib/duktape-stub/build.gradle.kts
Normal file
16
lib/duktape-stub/build.gradle.kts
Normal file
@ -0,0 +1,16 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs(listOf("src"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
26
lib/duktape-stub/src/com/squareup/duktape/Duktape.java
Normal file
26
lib/duktape-stub/src/com/squareup/duktape/Duktape.java
Normal file
@ -0,0 +1,26 @@
|
||||
package com.squareup.duktape;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class Duktape implements Closeable {
|
||||
|
||||
public static Duktape create() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void close() throws IOException {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public synchronized Object evaluate(String script) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public synchronized <T> void set(String name, Class<T> type, T object) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user