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"

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.redock.classpathtofile:com.redock.classpathtofile.gradle.plugin:0.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.redock.classpathtofile")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.redock.classpathtofile:com.redock.classpathtofile.gradle.plugin:0.0.1")
      }
    }
    
    apply(plugin = "com.redock.classpathtofile")
  • Applying plugins to all subprojects .