|
1 | | -<p align="center"><img width="10%" vspace="20" src="https://raw.githubusercontent.com/StringCare/AndroidLibrary/develop/sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png"></p> |
| 1 | +<p align="center"><img width="10%" vspace="20" src="https://github.com/StringCare/AndroidPlugin/raw/master/images/ic_launcher_round.png"></p> |
2 | 2 |
|
| 3 | +<h3 align="center" style="margin-bottom:30px" vspace="20">StringCare Gradle Plugin</h3> |
3 | 4 |
|
4 | | -# String Care Android Plugin |
5 | | -Source code of plugin used in Android Studio at compilation time for strings encryption. |
| 5 | +<p align="center"><img width="10%" vspace="20" src="https://github.com/StringCare/AndroidLibrary/raw/develop/white.png"></p> |
6 | 6 |
|
7 | | -Gradle implementation |
8 | | ------------- |
| 7 | +#### [Wiki Plugin](https://github.com/StringCare/GradlePlugin/wiki) |
9 | 8 |
|
10 | | -root_project/build.gradle |
11 | | -```groovy |
12 | | -// root_project/build.gradle |
| 9 | +#### [What is StringCare](https://github.com/StringCare/GradlePlugin/wiki/What-is-StringCare) |
13 | 10 |
|
14 | | -buildscript { |
| 11 | +#### [Plugin Implementation](https://github.com/StringCare/GradlePlugin/wiki/Plugin-Implementation) |
15 | 12 |
|
16 | | - ext { |
17 | | - stringcare_version = '0.7' |
18 | | - } |
| 13 | +#### [Plugin Configuration](https://github.com/StringCare/GradlePlugin/wiki/Plugin-Configuration) |
19 | 14 |
|
20 | | - repositories { |
21 | | - jcenter() |
22 | | - } |
| 15 | +#### [Plugin Obfuscation](https://github.com/StringCare/GradlePlugin/wiki/Plugin-Obfuscation) |
23 | 16 |
|
24 | | - dependencies { |
25 | | - classpath "com.stringcare:plugin:$stringcare_version" |
26 | | - } |
27 | | -
|
28 | | -} |
29 | | - |
30 | | -apply plugin: StringCare |
31 | | - |
32 | | -stringcare { |
33 | | -
|
34 | | - debug true // prints details |
35 | | -
|
36 | | - modules { |
37 | | -
|
38 | | - sample { |
39 | | - stringFiles = ['strings.xml',"other_file.xml"] |
40 | | - srcFolders = ['src/main', "other_folder"] |
41 | | - } |
42 | | -
|
43 | | - // root_folder/sample/src/main/res/.../strings.xml |
44 | | - // root_folder/sample/src/main/res/.../other_file.xml |
45 | | - // root_folder/sample/other_folder/res/.../strings.xml |
46 | | - // root_folder/sample/other_folder/res/.../other_file.xml |
47 | | -
|
48 | | - other_module { |
49 | | - srcFolders = ['src/moduleB'] |
50 | | - } |
51 | | -
|
52 | | - // root_folder/other_module/src/moduleB/res/.../strings.xml |
53 | | -
|
54 | | - other_module_ {} // |
55 | | -
|
56 | | - // root_folder/other_module_/src/main/res/.../strings.xml |
57 | | -
|
58 | | - } |
59 | | -
|
60 | | -} |
61 | | -``` |
| 17 | +#### [Wiki Library](https://github.com/StringCare/AndroidLibrary/wiki) |
62 | 18 |
|
63 | 19 |
|
64 | 20 | License |
65 | 21 | ------- |
66 | | - Copyright 2017 Efraín Espada |
| 22 | + Copyright 2018 StringCare [🐒 SpaceMonkeys] |
67 | 23 |
|
68 | 24 | Licensed under the Apache License, Version 2.0 (the "License"); |
69 | 25 | you may not use this file except in compliance with the License. |
|
0 commit comments