Search Gradle plugins

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

Plugin that configurers using Jar archives for tests's classpath instead of main source-set output. Min Gradle version: 4.5.

https://remal.gitlab.io/gradle-plugins/plugins/name.remal.use-jar-archives-for-testing/

Sources: https://gitlab.com/remal/gradle-plugins.git

Using the plugins DSL:

plugins {
  id("name.remal.use-jar-archives-for-testing") version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("name.remal:gradle-plugins:1.5.0")
  }
}

apply(plugin = "name.remal.use-jar-archives-for-testing")

Using the plugins DSL:

plugins {
  id "name.remal.use-jar-archives-for-testing" version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "name.remal:gradle-plugins:1.5.0"
  }
}

apply plugin: "name.remal.use-jar-archives-for-testing"

Learn how to apply plugins to subprojects