Skip to content

ekino/kotlin-quality-plugin

Repository files navigation

kotlin quality plugin

Kotlin Quality plugin for ekino projects

GitHub Workflow Status (master) GitHub (pre-)release GitHub license

Overview

https://plugins.gradle.org/plugin/com.ekino.oss.plugin.kotlin-quality

This plugin configures the following tasks for any ekino Kotlin project :

Requirements

You need to have a JDK 11 at least.

It requires Gradle 7.6.2 or later.

Usage

The plugin provides a default configuration for detekt. However, you can override it with your own in a detekt-config-custom.yml file at the root of your project

Configuration

The plugin provides some settings :

configure<KotlinQualityPluginExtension> {
  customDetektConfig = "my-detekt.yml" // custom name for your detekt config, detekt-config-custom.yml by default
  sonarUrl = "https://my-sonar.com"
}

or

kotlinQuality {
  ...
}