Search Gradle plugins

biz.davidpearson.gradle.androidlinttosonar

A Gradle plugin that converts Android Lint XML files to a SonarQube Generic Issue Import Format JSON file.

https://davidpearson.biz/

Sources: https://github.com/GrecoJava/AndroidLintToSonar

Version 1.0.0-alpha01 (latest)

Created 11 October 2020.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact A Gradle plugin that converts Android Lint XML files to a SonarQube Generic Issue Import Format JSON file.

Add this plugin to your build using the plugins DSL:

plugins {
  id("biz.davidpearson.gradle.androidlinttosonar") version "1.0.0-alpha01"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("biz.davidpearson.gradle.androidlinttosonar:biz.davidpearson.gradle.androidlinttosonar.gradle.plugin:1.0.0-alpha01")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("biz.davidpearson.gradle.androidlinttosonar")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("biz.davidpearson.gradle.androidlinttosonar:biz.davidpearson.gradle.androidlinttosonar.gradle.plugin:1.0.0-alpha01")
      }
    }
    
    apply(plugin = "biz.davidpearson.gradle.androidlinttosonar")
  • Applying plugins to all subprojects .