From 1ab1117435de56650afab1d9345ee655e9b060ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Wed, 19 Apr 2017 20:36:27 +0200 Subject: [PATCH] Rename project domain to io.github --- .idea/misc.xml | 2 +- app/build.gradle | 2 +- .../github}/wulkanowy/ExampleInstrumentedTest.java | 4 ++-- app/src/main/AndroidManifest.xml | 2 +- .../github}/wulkanowy/activity/main/CheckPass.java | 2 +- .../github}/wulkanowy/activity/main/Login.java | 5 ++--- .../github}/wulkanowy/activity/main/MainActivity.java | 4 ++-- .../github}/wulkanowy/activity/started/LoadingTask.java | 4 ++-- .../github}/wulkanowy/activity/started/StartedActivity.java | 4 ++-- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/activity_started.xml | 2 +- .../github}/wulkanowy/ExampleUnitTest.java | 2 +- 12 files changed, 17 insertions(+), 18 deletions(-) rename app/src/androidTest/java/{leszcz_team => io/github}/wulkanowy/ExampleInstrumentedTest.java (85%) rename app/src/main/java/{leszcz_team => io/github}/wulkanowy/activity/main/CheckPass.java (92%) rename app/src/main/java/{leszcz_team => io/github}/wulkanowy/activity/main/Login.java (97%) rename app/src/main/java/{leszcz_team => io/github}/wulkanowy/activity/main/MainActivity.java (97%) rename app/src/main/java/{leszcz_team => io/github}/wulkanowy/activity/started/LoadingTask.java (85%) rename app/src/main/java/{leszcz_team => io/github}/wulkanowy/activity/started/StartedActivity.java (82%) rename app/src/test/java/{leszcz_team => io/github}/wulkanowy/ExampleUnitTest.java (92%) diff --git a/.idea/misc.xml b/.idea/misc.xml index 5d1998103..fbb68289f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,7 +37,7 @@ - + diff --git a/app/build.gradle b/app/build.gradle index b0de4043f..65fb9b3e2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,7 +4,7 @@ android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { - applicationId "leszcz_team.wulkanowy" + applicationId "io.github.wulkanowy" minSdkVersion 14 targetSdkVersion 25 versionCode 1 diff --git a/app/src/androidTest/java/leszcz_team/wulkanowy/ExampleInstrumentedTest.java b/app/src/androidTest/java/io/github/wulkanowy/ExampleInstrumentedTest.java similarity index 85% rename from app/src/androidTest/java/leszcz_team/wulkanowy/ExampleInstrumentedTest.java rename to app/src/androidTest/java/io/github/wulkanowy/ExampleInstrumentedTest.java index a25fdec05..f152a9484 100644 --- a/app/src/androidTest/java/leszcz_team/wulkanowy/ExampleInstrumentedTest.java +++ b/app/src/androidTest/java/io/github/wulkanowy/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package leszcz_team.wulkanowy; +package io.github.wulkanowy; import android.content.Context; import android.support.test.InstrumentationRegistry; @@ -21,6 +21,6 @@ public class ExampleInstrumentedTest { // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); - assertEquals("leszcz_team.wulkanowy", appContext.getPackageName()); + assertEquals("io.github.wulkanowy", appContext.getPackageName()); } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9584a528a..ad0e83d10 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="io.github.wulkanowy"> diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/main/CheckPass.java b/app/src/main/java/io/github/wulkanowy/activity/main/CheckPass.java similarity index 92% rename from app/src/main/java/leszcz_team/wulkanowy/activity/main/CheckPass.java rename to app/src/main/java/io/github/wulkanowy/activity/main/CheckPass.java index 030348bd0..e03cd3665 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/main/CheckPass.java +++ b/app/src/main/java/io/github/wulkanowy/activity/main/CheckPass.java @@ -1,4 +1,4 @@ -package leszcz_team.wulkanowy.activity.main; +package io.github.wulkanowy.activity.main; import org.jsoup.Connection; import org.jsoup.nodes.Document; diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/main/Login.java b/app/src/main/java/io/github/wulkanowy/activity/main/Login.java similarity index 97% rename from app/src/main/java/leszcz_team/wulkanowy/activity/main/Login.java rename to app/src/main/java/io/github/wulkanowy/activity/main/Login.java index 30783cf5f..36f8cf8d0 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/main/Login.java +++ b/app/src/main/java/io/github/wulkanowy/activity/main/Login.java @@ -1,8 +1,7 @@ -package leszcz_team.wulkanowy.activity.main; +package io.github.wulkanowy.activity.main; import android.app.Activity; import android.app.ProgressDialog; -import android.content.res.Resources; import android.os.AsyncTask; import android.widget.Toast; @@ -14,7 +13,7 @@ import org.jsoup.select.Elements; import java.io.IOException; import java.util.Map; -import leszcz_team.wulkanowy.R; +import io.github.wulkanowy.R; public class Login extends AsyncTask { diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/main/MainActivity.java b/app/src/main/java/io/github/wulkanowy/activity/main/MainActivity.java similarity index 97% rename from app/src/main/java/leszcz_team/wulkanowy/activity/main/MainActivity.java rename to app/src/main/java/io/github/wulkanowy/activity/main/MainActivity.java index f88b9db9c..f63c0840d 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/main/MainActivity.java +++ b/app/src/main/java/io/github/wulkanowy/activity/main/MainActivity.java @@ -1,4 +1,4 @@ -package leszcz_team.wulkanowy.activity.main; +package io.github.wulkanowy.activity.main; import android.app.Activity; import android.app.AlertDialog; @@ -12,7 +12,7 @@ import android.widget.Toast; import java.util.LinkedHashMap; -import leszcz_team.wulkanowy.R; +import io.github.wulkanowy.R; public class MainActivity extends Activity { diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java b/app/src/main/java/io/github/wulkanowy/activity/started/LoadingTask.java similarity index 85% rename from app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java rename to app/src/main/java/io/github/wulkanowy/activity/started/LoadingTask.java index f467e75e1..4331932fb 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/started/LoadingTask.java +++ b/app/src/main/java/io/github/wulkanowy/activity/started/LoadingTask.java @@ -1,11 +1,11 @@ -package leszcz_team.wulkanowy.activity.started; +package io.github.wulkanowy.activity.started; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; -import leszcz_team.wulkanowy.activity.main.MainActivity; +import io.github.wulkanowy.activity.main.MainActivity; public class LoadingTask extends AsyncTask { diff --git a/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java b/app/src/main/java/io/github/wulkanowy/activity/started/StartedActivity.java similarity index 82% rename from app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java rename to app/src/main/java/io/github/wulkanowy/activity/started/StartedActivity.java index d05aae9c5..2e25bc709 100644 --- a/app/src/main/java/leszcz_team/wulkanowy/activity/started/StartedActivity.java +++ b/app/src/main/java/io/github/wulkanowy/activity/started/StartedActivity.java @@ -1,9 +1,9 @@ -package leszcz_team.wulkanowy.activity.started; +package io.github.wulkanowy.activity.started; import android.app.Activity; import android.os.Bundle; -import leszcz_team.wulkanowy.R; +import io.github.wulkanowy.R; public class StartedActivity extends Activity { diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 42b8f3066..77d173385 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="leszcz_team.wulkanowy.activity.main.MainActivity" + tools:context="io.github.wulkanowy.activity.main.MainActivity" tools:layout_editor_absoluteY="81dp" tools:layout_editor_absoluteX="0dp"> diff --git a/app/src/main/res/layout/activity_started.xml b/app/src/main/res/layout/activity_started.xml index ac1003b04..6bbedd942 100644 --- a/app/src/main/res/layout/activity_started.xml +++ b/app/src/main/res/layout/activity_started.xml @@ -6,7 +6,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="leszcz_team.wulkanowy.activity.started.StartedActivity" + tools:context="io.github.wulkanowy.activity.started.StartedActivity" tools:layout_editor_absoluteY="0dp" tools:layout_editor_absoluteX="0dp"> diff --git a/app/src/test/java/leszcz_team/wulkanowy/ExampleUnitTest.java b/app/src/test/java/io/github/wulkanowy/ExampleUnitTest.java similarity index 92% rename from app/src/test/java/leszcz_team/wulkanowy/ExampleUnitTest.java rename to app/src/test/java/io/github/wulkanowy/ExampleUnitTest.java index 9ba6c04de..4868407c8 100644 --- a/app/src/test/java/leszcz_team/wulkanowy/ExampleUnitTest.java +++ b/app/src/test/java/io/github/wulkanowy/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package leszcz_team.wulkanowy; +package io.github.wulkanowy; import org.junit.Test;