Skip to content
Permalink
Browse files

Fixing some build.gradle errors.

  • Loading branch information
CarlosACepeda committed Dec 2, 2019
1 parent 2b09def commit 9dd055c1d611f73104ca8f4fe404729142dce84d
Showing with 11 additions and 6 deletions.
  1. +11 −6 project/app/build.gradle
@@ -31,11 +31,12 @@ buildscript {
url 'https://maven.google.com/'
name 'Google'
}
google()

}
dependencies {
//noinspection GradleDynamicVersion
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'commons-codec:commons-codec:1.10'
}
}
@@ -57,7 +58,6 @@ repositories {

android {
compileSdkVersion 26
buildToolsVersion '25.0.0'

lintOptions {
checkReleaseBuilds true
@@ -147,11 +147,16 @@ android {
}
}

flavorDimensions "acdisplay"
productFlavors {
//noinspection GroovyMissingReturnStatement
defaultFlavor {}
defaultFlavor {
dimension "acdisplay"
}
//noinspection GroovyMissingReturnStatement
releaseFlavor {}
releaseFlavor {
dimension "acdisplay"
}
}
}

@@ -193,7 +198,7 @@ dependencies {
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
}

project.task('askForPasswords') << {
project.task('askForPasswords') doLast {
def passKeystore = ''
def passKey = ''
if (System.console() == null) {
@@ -304,7 +309,7 @@ task findbugs(type: FindBugs) {

reports {
xml {
destination "$project.buildDir/reports/findbugs/findbugs.xml"
destination file("$project.buildDir/reports/findbugs/findbugs.xml")
xml.withMessages true
}
}

0 comments on commit 9dd055c

Please sign in to comment.
You can’t perform that action at this time.