Skip to content

Commit

Permalink
use build tools version 28.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
daumie authored and PromasterGuru committed Aug 1, 2019
1 parent bdd86a5 commit 987d881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion app/code_quality_tools/quality.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ task findbugs(type: FindBugs) {
description 'Find bugs maingly design flaws, bad practices'
group 'verification'
excludeFilter = rootProject.file('app/code_quality_tools/findbugs.xml')
classes = fileTree("$project.buildDir/intermediates/classes/mock/debug/")
classes = fileTree("$project.buildDir/intermediates/javac/")
source 'src'
effort 'max'
include '**/*.java'
Expand All @@ -40,6 +40,7 @@ task pmd(type: Pmd) {
source = fileTree('src/main/java')
include '**/*.java'
exclude '**/gen/**'
ignoreFailures = true

reports {
xml.enabled = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.firebase.auth.FirebaseUser;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;
Expand Down Expand Up @@ -202,10 +201,7 @@ public void onGetAssets(UserAssetResponse response) {
* called when user is not assigned any asset.
*/
public void onEmptyAsset() {
List<Asset> asset = new ArrayList();
Asset newAsset = new Asset();
newAsset.setSerialNumber("NO ASSET ASSIGNED YET.");
asset.add(newAsset);
Toast.makeText(getApplicationContext(), "NO ASSET ASSIGNED YET.", Toast.LENGTH_LONG);
dismissDialog("200");
}

Expand Down
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,6 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi

yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;28.0.3"

exec "$JAVACMD" "$@"

0 comments on commit 987d881

Please sign in to comment.