Search Gradle plugins

com.redock.classpathtofile

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

https://github.com/redocksoft/classpath-to-file-gradle-plugin

Sources: https://github.com/redocksoft/classpath-to-file-gradle-plugin.git

Version 0.0.1 (latest)

Created 19 January 2019.

Fix for Windows long classpath issue. For JDK9+, 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.redock.classpathtofile") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.redock.classpathtofile:classpath-to-file-gradle-plugin:0.0.1")
  }
}

apply(plugin = "com.redock.classpathtofile")

Using the plugins DSL:

plugins {
  id "com.redock.classpathtofile" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.redock.classpathtofile:classpath-to-file-gradle-plugin:0.0.1"
  }
}

apply plugin: "com.redock.classpathtofile"

Learn how to apply plugins to subprojects