diff --git a/gradle.properties b/gradle.properties index 8d02586..cefe40b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,5 +16,5 @@ # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -GROUP=me.minkyu.teaspoon -VERSION_NAME=0.4.0 +GROUP=com.github.KoMinkyu.teaspoon +VERSION_NAME=0.3.5 diff --git a/teaspoon-example/build.gradle b/teaspoon-example/build.gradle index c9240d6..b6b7d4a 100755 --- a/teaspoon-example/build.gradle +++ b/teaspoon-example/build.gradle @@ -7,7 +7,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:1.5.0' - classpath 'me.minkyu.teaspoon:teaspoon-plugin:0.3.4' + classpath 'com.github.KoMinkyu.teaspoon:teaspoon-plugin:0.3.5' } } diff --git a/teaspoon-plugin/src/main/groovy/teaspoon/plugin/TeaSpoonPlugin.groovy b/teaspoon-plugin/src/main/groovy/teaspoon/plugin/TeaSpoonPlugin.groovy index 6bbc846..670336d 100644 --- a/teaspoon-plugin/src/main/groovy/teaspoon/plugin/TeaSpoonPlugin.groovy +++ b/teaspoon-plugin/src/main/groovy/teaspoon/plugin/TeaSpoonPlugin.groovy @@ -27,10 +27,10 @@ class TeaSpoonPlugin implements Plugin { } project.dependencies { - compile 'me.minkyu.teaspoon:teaspoon-processor:0.4.0' + compile 'com.github.KoMinkyu.teaspoon:teaspoon-processor:0.3.5' compile 'org.aspectj:aspectjrt:1.8.8' - compile 'me.minkyu.teaspoon:teaspoon-annotations:0.4.0' + compile 'com.github.KoMinkyu.teaspoon:teaspoon-annotations:0.3.5' } variants.all { variant -> diff --git a/teaspoon-processor/src/main/java/teaspoon/ExecuteEngine.java b/teaspoon-processor/src/main/java/teaspoon/ExecuteEngine.java index a0715e7..82c28c4 100644 --- a/teaspoon-processor/src/main/java/teaspoon/ExecuteEngine.java +++ b/teaspoon-processor/src/main/java/teaspoon/ExecuteEngine.java @@ -6,24 +6,24 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; -public class ExecuteEngine { - private final ExecutorService threadExecutor; - private final Handler uiExecutor; +final class ExecuteEngine { + private final ExecutorService threadExecutor; + private final Handler uiExecutor; - public ExecuteEngine() { - this(Executors.newCachedThreadPool()); - } + ExecuteEngine() { + this(Executors.newCachedThreadPool()); + } - public ExecuteEngine(ExecutorService customExecutorService) { - threadExecutor = customExecutorService; - uiExecutor = new Handler(Looper.getMainLooper()); - } + ExecuteEngine(ExecutorService customExecutorService) { + threadExecutor = customExecutorService; + uiExecutor = new Handler(Looper.getMainLooper()); + } - public void runOnUiThread(Runnable runnable, int delay) { - uiExecutor.postDelayed(runnable, delay); - } + void runOnUiThread(Runnable runnable, int delay) { + uiExecutor.postDelayed(runnable, delay); + } - public void runOnBackgroundThread(Runnable runnable) { - threadExecutor.submit(runnable); - } + void runOnBackgroundThread(Runnable runnable) { + threadExecutor.submit(runnable); + } }