Questions tagged [gradle.properties]
32 questions
0
votes
1 answer
If else in Gradle scripts
I have this really strange behavior in Gradle and I cannot find a way out of it. In my gradle.properties file, I am using this checking condition:
//gradle.properties
if ( "${System.Property['DATABASE_DIR']}".compareTo('swdb') == 0 ) {
…

Müller
- 973
- 6
- 19
- 38
-2
votes
1 answer
Want to make our local build fail if the number of major issues in sonarqube is greater than 50
I am new to gradle and sonar qube. I have locally installed the sonarqube but i need to make the gradle build fail locally if the number of major issues are greater than 50.
/*
build.gradle:
Please note that this file should not be…

prazz
- 1
- 2