Search Gradle plugins

com.virgo47.ClasspathJar

Fix for Windows long classpath issue. Fixes JavaExec/Test tasks that error with message: "CreateProcess error=206, The filename or extension is too long"

https://github.com/virgo47/gradle-classpath-jar-plugin

Sources: https://github.com/virgo47/gradle-classpath-jar-plugin

Version 1.0.0 (latest)

Created 02 November 2018.

Fix for Windows long classpath issue. Fixes JavaExec/Test tasks that error with message: "CreateProcess error=206, The filename or extension is too long"

Using the plugins DSL:

plugins {
  id("com.virgo47.ClasspathJar") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.virgo47.gradle:ClasspathJar:1.0.0")
  }
}

apply(plugin = "com.virgo47.ClasspathJar")

Using the plugins DSL:

plugins {
  id "com.virgo47.ClasspathJar" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.virgo47.gradle:ClasspathJar:1.0.0"
  }
}

apply plugin: "com.virgo47.ClasspathJar"

Learn how to apply plugins to subprojects