Skip to content

Home

Remal Gradle plugins

The main purpose of these plugins is to simplify Gradle configuration.

A simple Gradle build.gradle file for a Java application or library can look like this:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath "name.remal:gradle-plugins:1.0.148"
    }
}

apply plugin: 'java'
apply plugin: 'name.remal.default-plugins'

// If you want to publish Maven artifacts to Maven Central:
apply plugin: 'maven-publish'
publishing.repositories.ossrh()

 

name.remal.idea-extended-settings

Plugin that configures IDEA workspace.

 

name.remal.randomize-test-classes

Plugin that randomizes test classes for every Test task run.

 

name.remal.experimental-default-plugins

Plugin that applies name.remal.default-plugins plugin and default experimental plugins (see full docs for a list of the plugins).

 

name.remal.gradle-plugins

Plugin that simplifies Gradle plugins development.

 

name.remal.classes-processing

Plugin that adds ability to process *.class files. It executes all ClassesProcessor services for each compiled class file.

 

name.remal.merged-jacoco-report

Plugin that merges all jacoco reports in current project and all subprojects.

 

name.remal.kotlin-java8-default-methods

This plugin processes Kotlin class files and make Kotlin default interface methods as JVM default methods

 

name.remal.cross-gradle-versions-checks

Plugin that allows to check plugins against different Gradle versions.

 

name.remal.environment-variables

Plugin that creates 'environmentVariablesHelp' task.

 

name.remal.groovy-settings

Plugin that configures groovy plugin if it applied.

 

name.remal.assertj-generator

Plugin that configures AssertJ generator

 

name.remal.jdk-cross-compilation

Plugin that configures JVM languages cross-compilation functionality.

 

name.remal.kotlin-settings

Plugin that configures Kotlin plugins if some of them are applied.

 

name.remal.java-application-settings

Plugin that configures 'application' plugin if it's applied

 

name.remal.osdetector

Plugin that provides osdetector extension.

 

name.remal.test-source-sets

Plugin that provides testSourceSet object for creating new source sets for testing. For all created source sets Test task is created. All dependencies are inherited from 'test' source set.

 

name.remal.kotlin-js-settings

Plugin that configures Kotlin JS plugins if some of them are applied.

 

name.remal.generate-sources

Plugin that provides such task as generateJavaSources, generateKotlinSources, etc...

 

name.remal.component-capabilities

Plugin that configures some default component capabilities.

 

name.remal.filtering-settings

Plugin that simplifies filtering settings for copy tasks

 

name.remal.maven-publish-nexus-staging

Plugin that releases staging Nexus Maven repositories.

 

name.remal.maven-publish-bintray

Plugin that allows 'maven-publish' plugin publicate to Bintray.

 

name.remal.apt

Plugin that makes easier to use Java annotation processors.

 

name.remal.dependencies-modifier

Plugin that modifies dependencies.

 

name.remal.component-metadata

Plugin that configures some default component metadata.

 

name.remal.common-settings

Plugin that applies common settings

 

name.remal.dependencies-extensions

Plugin that provides dependencies extensions

 

name.remal.experimental-jsr205-jsr305-split-package-fixer

Plugin that fixes split package situation of JSR 205 and JSR 305 artifacts.

 

name.remal.java-settings

Plugin that configures 'java' plugin if it's applied. This plugins fixes some problems building Java 9 projects.

 

name.remal.sonarlint

Plugin that executes SonarLint checks without SonarQube server.

 

name.remal.prohibited-classes

Plugin that checks that prohibited classes are not used in compiled class files.

 

name.remal.transitive-dependencies

Plugin that makes easier to configure transitive dependencies.

 

name.remal.use-jar-archives-for-testing

Plugin that configurers using Jar archives for tests's classpath instead of main source-set output.

 

name.remal.check-updates

Plugin that provides tasks for discovering dependency and Gradle updates

 

name.remal.vcs-auto-version

Plugin that sets project version based on VCS history

 

name.remal.integration-tests

Plugin that adds 'integration' source set and configures it.

 

name.remal.merge-resources

Plugin that merges resources from different output directories while executing Copy tasks

 

name.remal.signing-settings

Plugin that configures 'signing' plugin if it's applied.

 

name.remal.check-dependency-updates

Plugin that provides task for discovering dependency updates

 

name.remal.findbugs-settings

Plugin that configures 'findbugs' plugin if it's applied.

 

name.remal.spotbugs-settings

Plugin that configures 'com.github.spotbugs' plugin if it's applied.

 

name.remal.eclipse-settings

Plugin that configures 'eclipse' plugin if it's applied.

 

name.remal.jacoco-settings

Plugin that configures 'jacoco' plugin if it's applied.

 

name.remal.gitlab-ci

Plugin that helps to integrate with GitLab CI.

 

name.remal.default-plugins

Plugin that applies many different plugins by default. See documentation for full applied plugins list.

 

name.remal.idea-external-annotations

Plugin that adds external annotations default link (file://$USER_HOME$/idea-external-annotations) to IDEA project libraries.

 

name.remal.fat-jar

Plugin that creates 'fatJar' configuration.

 

name.remal.dependency-versions

Plugin that provides 'dependencyVersions' extension.

 

name.remal.common-ci

Plugin that helps to build project on CI servers.

 

name.remal.maven-publish-settings

Plugin that configures 'maven-publish' plugin if it's applied.

 

name.remal.maven-publish-ossrh

Plugin that allows 'maven-publish' plugin publicate to OSS Repository Hosting.

 

name.remal.noarg-constructor

Plugin that adds no-arg protected synthetic constructor to all concrete classes where it's possible.

 

name.remal.buildSrc-default-plugins

Plugin that applies some plugins by default for buildSrc project. See documentation for full applied plugins list.

 

name.remal.maven-publish-gradle-plugin-portal

Plugin that allows 'maven-publish' plugin publicate to Gradle Plugin Portal.

 

name.remal.vcs-operations

Plugin that provides 'vcsOperations' extension.

 

name.remal.reports-settings

Plugin that configures reports.

 

name.remal.check-gradle-updates

Plugin that provides task for discovering Gradle updates

 

name.remal.detekt

Plugin that executes Detekt checks for Kotlin sources.

 

name.remal.idea-settings

Plugin that configures 'idea' plugin if it's applied.

 

name.remal.root-project-default-plugins

Plugin that applies many different plugins by default to the root project. See documentation for full applied plugins list.

 

name.remal.agent

Plugin that configures Java agents.

 

name.remal.disable-tests

Plugin that disables all check and test tasks. Also this plugin disables test source sets tasks.

 

name.remal.experimental-buildSrc-default-plugins

Plugin that applies buildSrc-default-plugins and name.remal.experimental-default-plugins plugins.

 

name.remal.dependencies-filter

Plugin that provides dependencies 'filter' extension

 

name.remal.test-settings

Plugin that configures test tasks.

 

name.remal.default-dependency-version

Plugin provides resolution strategy that sets dependency version if it's not set. Please run 'defaultDependencyVersionsHelp' to get help.

 

name.remal.classes-relocation

Plugin that provides classes relocating functionality

 

name.remal.gradle-wrapper-settings

Plugin that configures Gradle 'wrapper' task