From 3ad8ec458f1847ff5d82aed231bd0f3b3bb6e156 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Sat, 15 May 2021 01:22:45 +0530 Subject: Reformat code and fix spotless config for gradle files --- build.gradle | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'build.gradle') 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() } } -- cgit v1.2.1