欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

修复Gradle CreateProcess error=206

程序员文章站 2022-04-28 13:56:04
插件地址:https://plugins.gradle.org/plugin/ua.eshepelyuk.ManifestClasspath 修复Window系统中Gradle 路径太长问题, Fix for Windows Gradle long classpath issue. Fixes Ja ......

插件地址:https://plugins.gradle.org/plugin/ua.eshepelyuk.manifestclasspath

修复window系统中gradle 路径太长问题,

fix for windows gradle long classpath issue. fixes javaexec/test tasks that error with message "createprocess error=206, the filename or extension is too long"

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ua.eshepelyuk:manifestclasspath:1.0.0"
  }
}

apply plugin: "ua.eshepelyuk.manifestclasspath"