mirror of https://github.com/kurisufriend/Clover
Simplify the project setup a little bit. (#615)
* Use applicationIdSuffix instead of defining applicationId in each flavor Signed-off-by: TacoTheDank <SkytkRSfan3895@gmail.com> * Define DEVELOPER_MODE as a buildConfigField in gradle buildTypes Signed-off-by: TacoTheDank <SkytkRSfan3895@gmail.com> * Manifest: utilize "${applicationId}" for provider authority Signed-off-by: TacoTheDank <SkytkRSfan3895@gmail.com>fix-travis
parent
98eb525dcb
commit
5dbb361630
@ -1,23 +0,0 @@ |
||||
/* |
||||
* Clover - 4chan browser https://github.com/Floens/Clover/
|
||||
* Copyright (C) 2014 Floens |
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 3 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
package org.floens.chan; |
||||
|
||||
// debug version
|
||||
public class ChanBuild { |
||||
public static final boolean DEVELOPER_MODE = true; |
||||
} |
@ -1,33 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?><!-- |
||||
Clover - 4chan browser https://github.com/Floens/Clover/ |
||||
Copyright (C) 2014 Floens |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||
--> |
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<application> |
||||
<!-- Note: only difference is the authorities property --> |
||||
<provider |
||||
android:name="android.support.v4.content.FileProvider" |
||||
android:authorities="org.floens.chan.fileprovider" |
||||
android:exported="false" |
||||
android:grantUriPermissions="true"> |
||||
|
||||
<meta-data |
||||
android:name="android.support.FILE_PROVIDER_PATHS" |
||||
android:resource="@xml/file_paths" /> |
||||
|
||||
</provider> |
||||
</application> |
||||
</manifest> |
@ -1,33 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?><!-- |
||||
Clover - 4chan browser https://github.com/Floens/Clover/ |
||||
Copyright (C) 2014 Floens |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||
--> |
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<application> |
||||
<!-- Note: only difference is the authorities property --> |
||||
<provider |
||||
android:name="android.support.v4.content.FileProvider" |
||||
android:authorities="org.floens.chan.dev.fileprovider" |
||||
android:exported="false" |
||||
android:grantUriPermissions="true"> |
||||
|
||||
<meta-data |
||||
android:name="android.support.FILE_PROVIDER_PATHS" |
||||
android:resource="@xml/file_paths" /> |
||||
|
||||
</provider> |
||||
</application> |
||||
</manifest> |
@ -1,33 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?><!-- |
||||
Clover - 4chan browser https://github.com/Floens/Clover/ |
||||
Copyright (C) 2014 Floens |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||
--> |
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<application> |
||||
<!-- Note: only difference is the authorities property --> |
||||
<provider |
||||
android:name="android.support.v4.content.FileProvider" |
||||
android:authorities="org.floens.chan.fileprovider" |
||||
android:exported="false" |
||||
android:grantUriPermissions="true"> |
||||
|
||||
<meta-data |
||||
android:name="android.support.FILE_PROVIDER_PATHS" |
||||
android:resource="@xml/file_paths" /> |
||||
|
||||
</provider> |
||||
</application> |
||||
</manifest> |
@ -1,23 +0,0 @@ |
||||
/* |
||||
* Clover - 4chan browser https://github.com/Floens/Clover/
|
||||
* Copyright (C) 2014 Floens |
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation, either version 3 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
package org.floens.chan; |
||||
|
||||
// release version
|
||||
public class ChanBuild { |
||||
public static final boolean DEVELOPER_MODE = false; |
||||
} |
Loading…
Reference in new issue