Remove trailing spaces.

This commit is contained in:
Joseph Cloutier
2022-06-11 19:42:59 -04:00
parent b03edaec73
commit 1ff434043c
4 changed files with 20 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
}
@@ -14,7 +14,7 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)

View File

@@ -16,7 +16,7 @@ android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
::if (ANDROID_GRADLE_PLUGIN>="4.0")::ndkPath '::ANDROID_NDK_ROOT_ESCAPED::'::end::
defaultConfig {
applicationId "::META_PACKAGE_NAME::"
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
@@ -25,7 +25,7 @@ android {
versionName project.VERSION_NAME
::if (languages != null)::resConfigs ::foreach languages::"::__current__::", ::end::""::end::
}
::if KEY_STORE::
signingConfigs {
if (project.KEY_STORE_PASSWORD == 'null') {
@@ -33,11 +33,11 @@ android {
keyStoreFile = keyStoreFile[keyStoreFile.length - 1]
project.KEY_STORE_PASSWORD = getPassword('\nPlease enter key password for ' + keyStoreFile + ':');
}
if (project.KEY_STORE_ALIAS_PASSWORD == 'null') {
project.KEY_STORE_ALIAS_PASSWORD = getPassword("\nPlease enter key alias password for alias " + project.KEY_STORE_ALIAS + ":")
}
release {
storeFile file(project.KEY_STORE)
storePassword project.KEY_STORE_PASSWORD
@@ -50,7 +50,7 @@ android {
if(signingFile.exists()) {
Properties signing = new Properties()
signing.load(new FileInputStream(signingFile))
signingConfigs {
release {
storeFile file(signing["KEY_STORE"])
@@ -65,14 +65,14 @@ android {
}
}
::end::
buildTypes {
release {
minifyEnabled false
signingConfig signingConfigs.release
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
if (outputFileName != null && outputFileName.endsWith('.apk')) {
@@ -103,11 +103,11 @@ def getPassword(message) {
show: true
) {
lookAndFeel('system')
panel(border: new EmptyBorder(10, 10, 10, 10)) {
gridBagLayout()
def gbc = new GridBagConstraints();
gbc.gridx = 0
gbc.gridy = 0
gbc.fill = GridBagConstraints.HORIZONTAL
@@ -119,10 +119,10 @@ def getPassword(message) {
'</body>' +
'</html>',
constraints: gbc)
gbc.gridy = 1
input = passwordField(constraints: gbc)
gbc.gridy = 2
gbc.fill = GridBagConstraints.NONE
gbc.insets = [0, 0, 0, 0]

View File

@@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@@ -35,19 +35,19 @@ configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('bui
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::'
}
}
apply plugin: 'android-library'
android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
::if (ANDROID_GRADLE_PLUGIN>="4.0")::ndkPath '::ANDROID_NDK_ROOT_ESCAPED::'::end::
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
@@ -56,7 +56,7 @@ configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('bui
}
}
}
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
api project(':deps:extension-api')

View File

@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:::::if (1 == 1)::ANDROID_GRADLE_PLUGIN::end::::'
}