Merge pull request #3683 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x

fix(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.8
This commit is contained in:
Andy Scherzinger 2024-03-01 20:09:22 +01:00 committed by GitHub
commit 1262a75996
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 11 deletions

View File

@ -338,7 +338,7 @@ tasks.withType(SpotBugsTask).configureEach { task ->
dependsOn "compile${variantNameCap}Sources" dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml") excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/") classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/compile${variantNameCap}JavaWithJavac/classes/")
reports { reports {
xml { xml {
required = true required = true

View File

@ -1,10 +1,3 @@
package com.nextcloud.talk.utils
import com.nextcloud.talk.models.domain.ConversationModel
import com.nextcloud.talk.models.domain.ConversationType
import com.nextcloud.talk.models.domain.ParticipantType
import com.nextcloud.talk.models.json.capabilities.SpreedCapability
/* /*
* Nextcloud Talk application * Nextcloud Talk application
* @author Marcel Hibbe * @author Marcel Hibbe
@ -23,6 +16,12 @@ import com.nextcloud.talk.models.json.capabilities.SpreedCapability
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package com.nextcloud.talk.utils
import com.nextcloud.talk.models.domain.ConversationModel
import com.nextcloud.talk.models.domain.ConversationType
import com.nextcloud.talk.models.domain.ParticipantType
import com.nextcloud.talk.models.json.capabilities.SpreedCapability
object ConversationUtils { object ConversationUtils {
private val TAG = ConversationUtils::class.java.simpleName private val TAG = ConversationUtils::class.java.simpleName

View File

@ -37,7 +37,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:8.3.0' classpath 'com.android.tools.build:gradle:8.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}" classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.7' classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.8'
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.5" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.5"
classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.0" classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.0"

View File

@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 8 errors and 79 warnings</span> <span class="mdl-layout-title">Lint Report: 10 errors and 81 warnings</span>

View File

@ -15,7 +15,7 @@ require 'open3'
# run Spotbugs # run Spotbugs
puts "running Spotbugs..." puts "running Spotbugs..."
system './gradlew spotbugsGplayDebug 1>/dev/null 2>&1' system './gradlew spotbugsGplayDebug'
# find number of warnings # find number of warnings
current_warning_count = `./scripts/analysis/spotbugsSummary.py --total`.to_i current_warning_count = `./scripts/analysis/spotbugsSummary.py --total`.to_i