update remoter to allow parameter to be named data

This commit is contained in:
f43nd1r 2019-02-15 03:15:15 +01:00
parent f4fb7023d2
commit 74301debc9
2 changed files with 3 additions and 3 deletions

View file

@ -14,8 +14,8 @@ android {
}
dependencies {
implementation 'com.josesamuel:remoter-annotations:1.1.9'
annotationProcessor 'com.josesamuel:remoter:1.1.9'
implementation 'com.josesamuel:remoter-annotations:1.2.0'
annotationProcessor 'com.josesamuel:remoter:1.2.0'
implementation 'org.parceler:parceler-api:1.1.12'
annotationProcessor 'org.parceler:parceler:1.1.12'
}

View file

@ -60,7 +60,7 @@ public interface IScriptService {
/**
* runs the script with the given id and optional data
*/
void runScript(@ParamIn Script script, String data_, @ParamIn ScreenIdentity screen) throws ScriptException;
void runScript(@ParamIn Script script, String data, @ParamIn ScreenIdentity screen) throws ScriptException;
/**
* runs the given code. Code must end with a return statement