summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-05-15 01:22:45 +0530
committerAmit Kumar <amitkma@e.email>2021-05-15 01:22:45 +0530
commit3ad8ec458f1847ff5d82aed231bd0f3b3bb6e156 (patch)
treef36910ed7e11fe794b715a2284035a5371950f6e
parent47194484d7c2ca6ce8103312b9dbfb1244e8c4e6 (diff)
Reformat code and fix spotless config for gradle files
-rw-r--r--build.gradle21
-rw-r--r--privapp-permissions-foundation.e.privacycentralapp.xml8
2 files changed, 14 insertions, 15 deletions
diff --git a/build.gradle b/build.gradle
index e84cea8..0567d32 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,21 +4,21 @@ import foundation.e.privacycentral.buildsrc.ReleaseType
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.buildConfig = [
- 'compileSdk': 30,
- 'minSdk' : 24,
- 'targetSdk' : 30,
- 'version': [
- 'major': 1,
- 'minor': 0,
- 'patch': 0,
- 'build': "alpha",
- ],
+ 'compileSdk': 30,
+ 'minSdk' : 24,
+ 'targetSdk' : 30,
+ 'version' : [
+ 'major': 1,
+ 'minor': 0,
+ 'patch': 0,
+ 'build': "alpha",
+ ],
]
ext.buildConfig.version['name'] = "${buildConfig.version.major}.${buildConfig.version.minor}.${buildConfig.version.patch}"
ext.buildConfig.version['fullName'] = "${buildConfig.version.name}-${buildConfig.version.build}"
def buildNumber
- if(buildConfig.version.build == 'alpha') {
+ if (buildConfig.version.build == 'alpha') {
buildNumber = -2
} else if (buildConfig.version.build == 'beta') {
buildNumber = -1
@@ -91,7 +91,6 @@ subprojects {
// define the steps to apply to those files
trimTrailingWhitespace()
- indentWithTabs() // or spaces. Takes an integer argument if you don't like 4
endWithNewline()
}
}
diff --git a/privapp-permissions-foundation.e.privacycentralapp.xml b/privapp-permissions-foundation.e.privacycentralapp.xml
index e3557a8..1b3e760 100644
--- a/privapp-permissions-foundation.e.privacycentralapp.xml
+++ b/privapp-permissions-foundation.e.privacycentralapp.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="foundation.e.privacycentralapp.e">
- <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
- <permission name="android.permission.WATCH_APPOPS"/>
- <permission name="android.permission.GET_APP_OPS_STATS"/>
- <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ <permission name="android.permission.UPDATE_APP_OPS_STATS" />
+ <permission name="android.permission.WATCH_APPOPS" />
+ <permission name="android.permission.GET_APP_OPS_STATS" />
+ <permission name="android.permission.WRITE_SECURE_SETTINGS" />
</privapp-permissions>
</permissions> \ No newline at end of file