aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-10-08 03:14:40 -0400
committerGitHub <noreply@github.com>2018-10-08 03:14:40 -0400
commit2ed21b32c9e77da5f957cfbf9d73a0a563b8511c (patch)
tree777031cb40b2d3ab70795134b746fae282cd8059
parent19020070cc073c81bfe397454f2314d37a78ed31 (diff)
downloadkau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.tar.gz
kau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.tar.bz2
kau-2ed21b32c9e77da5f957cfbf9d73a0a563b8511c.zip
Enhancement/public xml (#171)3.8.0
* Test gitignore with public xml * Fix spacing
-rw-r--r--.gitignore1
-rw-r--r--about/src/main/res-public/values/public.xml4
-rw-r--r--adapter/src/main/res-public/values/public.xml4
-rw-r--r--artifacts.gradle8
-rw-r--r--colorpicker/src/main/res-public/values/public.xml4
-rw-r--r--core-ui/src/main/res-public/values/public.xml10
-rw-r--r--core/src/main/res-public/values/public.xml118
-rw-r--r--kpref-activity/src/main/res-public/values/public.xml19
-rw-r--r--mediapicker/src/main/res-public/values/public.xml7
-rw-r--r--searchview/src/main/res-public/values/public.xml4
10 files changed, 7 insertions, 172 deletions
diff --git a/.gitignore b/.gitignore
index 6f35f6b..d741202 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/build
/captures
.externalNativeBuild
+**/public.xml \ No newline at end of file
diff --git a/about/src/main/res-public/values/public.xml b/about/src/main/res-public/values/public.xml
deleted file mode 100644
index 3739dd1..0000000
--- a/about/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='Kau.About' type='style' />
-</resources> \ No newline at end of file
diff --git a/adapter/src/main/res-public/values/public.xml b/adapter/src/main/res-public/values/public.xml
deleted file mode 100644
index 4d16c2a..0000000
--- a/adapter/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='dummy' type='id' />
-</resources> \ No newline at end of file
diff --git a/artifacts.gradle b/artifacts.gradle
index 12dd3fa..c0c344a 100644
--- a/artifacts.gradle
+++ b/artifacts.gradle
@@ -31,6 +31,8 @@ artifacts {
// We assume resources within res-public are public
task generatepublicxml {
+ println "Generating public XML"
+
def resDir = project.projectDir.absolutePath + "/src/main/res-public"
def publicFolder = file(resDir + "/values")
@@ -64,7 +66,7 @@ task generatepublicxml {
) {
// Leave file comment
destXmlMkp.yield "\r\n"
- destXmlMkp.comment("AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task")
+ destXmlMkp.comment("AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task")
if (tree.isEmpty())
"public"("name": "dummy", "type": "id")
@@ -96,4 +98,6 @@ task generatepublicxml {
}
}
}
-} \ No newline at end of file
+}
+
+build.dependsOn generatepublicxml \ No newline at end of file
diff --git a/colorpicker/src/main/res-public/values/public.xml b/colorpicker/src/main/res-public/values/public.xml
deleted file mode 100644
index 4d16c2a..0000000
--- a/colorpicker/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='dummy' type='id' />
-</resources> \ No newline at end of file
diff --git a/core-ui/src/main/res-public/values/public.xml b/core-ui/src/main/res-public/values/public.xml
deleted file mode 100644
index 3d0b8d2..0000000
--- a/core-ui/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='kau_recycler_detached_background' type='layout' />
- <public name='kau_recycler_textslider' type='layout' />
- <public name='kau_elastic_recycler_activity' type='layout' />
- <public name='Kau.Translucent' type='style' />
- <public name='Kau.Translucent.NoAnimation' type='style' />
- <public name='Kau.Translucent.SlideBottom' type='style' />
- <public name='Kau.Translucent.SlideTop' type='style' />
-</resources> \ No newline at end of file
diff --git a/core/src/main/res-public/values/public.xml b/core/src/main/res-public/values/public.xml
deleted file mode 100644
index 485be78..0000000
--- a/core/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='Kau' type='style' />
- <public name='Kau.Translucent' type='style' />
- <public name='kau_activity_horizontal_margin' type='dimen' />
- <public name='kau_activity_vertical_margin' type='dimen' />
- <public name='kau_dialog_margin' type='dimen' />
- <public name='kau_dialog_margin_bottom' type='dimen' />
- <public name='kau_fab_margin' type='dimen' />
- <public name='kau_appbar_padding_top' type='dimen' />
- <public name='kau_splash_logo' type='dimen' />
- <public name='kau_progress_bar_height' type='dimen' />
- <public name='kau_account_image_size' type='dimen' />
- <public name='kau_status_bar_height' type='dimen' />
- <public name='kau_drag_dismiss_distance' type='dimen' />
- <public name='kau_drag_dismiss_distance_large' type='dimen' />
- <public name='kau_spacing_normal' type='dimen' />
- <public name='kau_spacing_micro' type='dimen' />
- <public name='kau_spacing_large' type='dimen' />
- <public name='kau_spacing_xlarge' type='dimen' />
- <public name='kau_spacing_huge' type='dimen' />
- <public name='kau_padding_small' type='dimen' />
- <public name='kau_padding_normal' type='dimen' />
- <public name='kau_padding_large' type='dimen' />
- <public name='kau_fab_size' type='dimen' />
- <public name='kau_fab_radius' type='dimen' />
- <public name='kau_display_4_text_size' type='dimen' />
- <public name='kau_avatar_size' type='dimen' />
- <public name='kau_avatar_bounds' type='dimen' />
- <public name='kau_avatar_padding' type='dimen' />
- <public name='kau_avatar_margin' type='dimen' />
- <public name='kau_avatar_ripple_radius' type='dimen' />
- <public name='kau_shadow_overlay' type='color' />
- <public name='KauFadeIn' type='style' />
- <public name='KauFadeInFadeOut' type='style' />
- <public name='KauSlideInRight' type='style' />
- <public name='KauSlideInBottom' type='style' />
- <public name='KauSlideInFadeOut' type='style' />
- <public name='KauSlideInSlideOutRight' type='style' />
- <public name='KauSlideInSlideOutBottom' type='style' />
- <public name='kau_about_app' type='string' />
- <public name='kau_about_x' type='string' />
- <public name='kau_add_account' type='string' />
- <public name='kau_amoled' type='string' />
- <public name='kau_back' type='string' />
- <public name='kau_cancel' type='string' />
- <public name='kau_changelog' type='string' />
- <public name='kau_close' type='string' />
- <public name='kau_contact_us' type='string' />
- <public name='kau_copy' type='string' />
- <public name='kau_custom' type='string' />
- <public name='kau_dark' type='string' />
- <public name='kau_default' type='string' />
- <public name='kau_do_not_show_again' type='string' />
- <public name='kau_done' type='string' />
- <public name='kau_error' type='string' />
- <public name='kau_exit' type='string' />
- <public name='kau_exit_confirmation' type='string' />
- <public name='kau_exit_confirmation_x' type='string' />
- <public name='kau_glass' type='string' />
- <public name='kau_got_it' type='string' />
- <public name='kau_great' type='string' />
- <public name='kau_hide' type='string' />
- <public name='kau_light' type='string' />
- <public name='kau_login' type='string' />
- <public name='kau_logout' type='string' />
- <public name='kau_logout_confirm_as_x' type='string' />
- <public name='kau_lorem_ipsum' type='string' />
- <public name='kau_manage_account' type='string' />
- <public name='kau_maybe' type='string' />
- <public name='kau_menu' type='string' />
- <public name='kau_no' type='string' />
- <public name='kau_no_results_found' type='string' />
- <public name='kau_none' type='string' />
- <public name='kau_ok' type='string' />
- <public name='kau_play_store' type='string' />
- <public name='kau_rate' type='string' />
- <public name='kau_report_bug' type='string' />
- <public name='kau_search' type='string' />
- <public name='kau_send_feedback' type='string' />
- <public name='kau_send_via' type='string' />
- <public name='kau_settings' type='string' />
- <public name='kau_share' type='string' />
- <public name='kau_text_copied' type='string' />
- <public name='kau_thank_you' type='string' />
- <public name='kau_uh_oh' type='string' />
- <public name='kau_warning' type='string' />
- <public name='kau_x_days' type='plurals' />
- <public name='kau_x_hours' type='plurals' />
- <public name='kau_x_minutes' type='plurals' />
- <public name='kau_x_seconds' type='plurals' />
- <public name='kau_yes' type='string' />
- <public name='kau_permission_denied' type='string' />
- <public name='kau_0' type='string' />
- <public name='kau_bullet_point' type='string' />
- <public name='kau_transparent' type='drawable' />
- <public name='kau_selectable_white' type='drawable' />
- <public name='kau_enter_slide_top' type='transition' />
- <public name='kau_exit_slide_top' type='transition' />
- <public name='kau_exit_slide_right' type='transition' />
- <public name='kau_enter_slide_bottom' type='transition' />
- <public name='kau_enter_slide_right' type='transition' />
- <public name='kau_exit_slide_left' type='transition' />
- <public name='kau_exit_slide_bottom' type='transition' />
- <public name='kau_enter_slide_left' type='transition' />
- <public name='kau_slide_out_top' type='anim' />
- <public name='kau_slide_in_right' type='anim' />
- <public name='kau_slide_out_right' type='anim' />
- <public name='kau_slide_in_bottom' type='anim' />
- <public name='kau_fade_out' type='anim' />
- <public name='kau_slide_in_left' type='anim' />
- <public name='kau_slide_out_left_top' type='anim' />
- <public name='kau_slide_in_top' type='anim' />
- <public name='kau_slide_out_left' type='anim' />
- <public name='kau_fade_in' type='anim' />
- <public name='kau_slide_out_bottom' type='anim' />
- <public name='kau_slide_out_right_top' type='anim' />
-</resources> \ No newline at end of file
diff --git a/kpref-activity/src/main/res-public/values/public.xml b/kpref-activity/src/main/res-public/values/public.xml
deleted file mode 100644
index bd4f615..0000000
--- a/kpref-activity/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='kau_pref_barrier' type='id' />
- <public name='kau_pref_container' type='id' />
- <public name='kau_pref_desc' type='id' />
- <public name='kau_pref_icon' type='id' />
- <public name='kau_pref_inner_content' type='id' />
- <public name='kau_pref_inner_frame' type='id' />
- <public name='kau_pref_item_checkbox' type='id' />
- <public name='kau_pref_item_color_picker' type='id' />
- <public name='kau_pref_item_header' type='id' />
- <public name='kau_pref_item_plain_text' type='id' />
- <public name='kau_pref_item_seekbar' type='id' />
- <public name='kau_pref_item_sub_item' type='id' />
- <public name='kau_pref_item_text' type='id' />
- <public name='kau_pref_lower_content' type='id' />
- <public name='kau_pref_lower_frame' type='id' />
- <public name='kau_pref_title' type='id' />
-</resources> \ No newline at end of file
diff --git a/mediapicker/src/main/res-public/values/public.xml b/mediapicker/src/main/res-public/values/public.xml
deleted file mode 100644
index cadfa07..0000000
--- a/mediapicker/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='Kau.MediaPicker' type='style' />
- <public name='Kau.MediaPicker.Overlay' type='style' />
- <public name='kau_image_minimum_size' type='dimen' />
- <public name='kau_blurred_image_selection_overlay' type='color' />
-</resources> \ No newline at end of file
diff --git a/searchview/src/main/res-public/values/public.xml b/searchview/src/main/res-public/values/public.xml
deleted file mode 100644
index 4d16c2a..0000000
--- a/searchview/src/main/res-public/values/public.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
- <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
- <public name='dummy' type='id' />
-</resources> \ No newline at end of file