Skip to content

Commit

Permalink
Updated gradle script with lint abortOnError=false
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielemariotti committed Jan 7, 2014
1 parent d219606 commit 62c7968
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions demo/extras/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ android {
signingConfig signingConfigs.release
}
}

debug {
packageNameSuffix ".debug"
versionNameSuffix "-debug"
}
}

// This is important, it will run lint checks but won't abort build
lintOptions {
abortOnError false
}
}

Expand Down
5 changes: 5 additions & 0 deletions demo/stock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ android {
}
}
}

// This is important, it will run lint checks but won't abort build
lintOptions {
abortOnError false
}
}

dependencies {
Expand Down
5 changes: 5 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ android {
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
}

// This is important, it will run lint checks but won't abort build
lintOptions {
abortOnError false
}
}

dependencies {
Expand Down

0 comments on commit 62c7968

Please sign in to comment.