修復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"


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM