diff --git a/build.gradle b/build.gradle index 445264998..1f2cc9f26 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ dependencies { exclude module: 'cglib' exclude group: 'com.google.code.gson' } - compile 'com.google.code.gson:gson:2.8.0' + compile 'com.google.code.gson:gson:2.8.1' compile 'org.apache.httpcomponents:httpclient:4.5.3' compile 'cglib:cglib:3.2.5' compile 'commons-validator:commons-validator:1.6' diff --git a/src/main/java/io/appium/java_client/youiengine/YouiEngineDriver.java b/src/main/java/io/appium/java_client/youiengine/YouiEngineDriver.java index e800a524a..effa2ca85 100644 --- a/src/main/java/io/appium/java_client/youiengine/YouiEngineDriver.java +++ b/src/main/java/io/appium/java_client/youiengine/YouiEngineDriver.java @@ -23,6 +23,11 @@ import java.net.URL; +/** + * This class is going to be removed. + * Please use {@link AppiumDriver} instead + */ +@Deprecated public class YouiEngineDriver extends AppiumDriver { /** Constructor takes in the Appium Server URL and the capabilities you want to use for this diff --git a/src/main/java/io/appium/java_client/youiengine/YouiEngineElement.java b/src/main/java/io/appium/java_client/youiengine/YouiEngineElement.java index 7e20df81b..b25722bed 100644 --- a/src/main/java/io/appium/java_client/youiengine/YouiEngineElement.java +++ b/src/main/java/io/appium/java_client/youiengine/YouiEngineElement.java @@ -18,6 +18,12 @@ import io.appium.java_client.MobileElement; +/** + * This class is going to be removed. + * Please use any convenient {@link MobileElement} subclass or + * {@link org.openqa.selenium.remote.RemoteWebElement} instead. + */ +@Deprecated public class YouiEngineElement extends MobileElement { }