修复Gradle CreateProcess error=206

插件地址: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"
posted @ 2019-01-21 14:08  lowezheng  阅读(3351)  评论(0编辑  收藏  举报