All Projects → viswaramamoorthy → Gradle Util Plugins

viswaramamoorthy / Gradle Util Plugins

Licence: mit
Fix for windows gradle long classpath issue. Fixes JavaExec tasks that error out with message "CreateProcess error=206, The filename or extension is too long"

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Gradle Util Plugins

Android Gradle Localization Plugin
Gradle plugin for generating localized string resources
Stars: ✭ 100 (+14.94%)
Mutual labels:  gradle, plugin
Buildjar
通用的打包jar gradle插件
Stars: ✭ 147 (+68.97%)
Mutual labels:  gradle, jar
Japicmp Gradle Plugin
A Gradle plugin for JApicmp
Stars: ✭ 101 (+16.09%)
Mutual labels:  gradle, plugin
Gradle Maven Plugin
Gradle 5.x Maven Publish Plugin to deploy artifacts
Stars: ✭ 124 (+42.53%)
Mutual labels:  gradle, plugin
Craftbook
🔧 Machines, ICs, PLCs, and more!
Stars: ✭ 226 (+159.77%)
Mutual labels:  gradle, plugin
Bintray Publish
Super easy way to publish your Android and Java artifacts to bintray.
Stars: ✭ 97 (+11.49%)
Mutual labels:  gradle, jar
Android Development Aircraft Carrier
打造安卓开发航空母舰,Android Studio 使用集锦
Stars: ✭ 138 (+58.62%)
Mutual labels:  gradle, plugin
Webapp Webpack Plugin
[DEPRECATED] use favicons-webpack-plugin instead
Stars: ✭ 127 (+45.98%)
Mutual labels:  manifest, plugin
Argusapm
Powerful, comprehensive (Android) application performance management platform. 360线上移动性能检测平台
Stars: ✭ 2,452 (+2718.39%)
Mutual labels:  gradle, plugin
Java Markdown Generator
Java library to generate markdown
Stars: ✭ 159 (+82.76%)
Mutual labels:  gradle, jar
Google Java Format Gradle Plugin
Stars: ✭ 147 (+68.97%)
Mutual labels:  gradle, plugin
Webpack Pwa Manifest
Progressive Web App Manifest Generator for Webpack, with auto icon resizing and fingerprinting support.
Stars: ✭ 447 (+413.79%)
Mutual labels:  manifest, plugin
Jmh Gradle Plugin
Integrates the JMH benchmarking framework with Gradle
Stars: ✭ 441 (+406.9%)
Mutual labels:  gradle, plugin
Hidden Secrets Gradle Plugin
🔒 Deeply hide secrets on Android
Stars: ✭ 79 (-9.2%)
Mutual labels:  gradle, plugin
Metismenujs
MetisMenu: Collapsible menu plugin with Vanilla-JS
Stars: ✭ 84 (-3.45%)
Mutual labels:  plugin
Flutter inappwebview
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
Stars: ✭ 1,259 (+1347.13%)
Mutual labels:  plugin
Fluttertoast
Flutter Toast
Stars: ✭ 84 (-3.45%)
Mutual labels:  plugin
Inline Chunk Manifest Html Webpack Plugin
Extension plugin for html-webpack-plugin to inline webpack's chunk manifest. Default inlines in head tag.
Stars: ✭ 83 (-4.6%)
Mutual labels:  manifest
Admob Unity Plugin
👾 An extension for Unity3d to place AdMob banners in your Android games.
Stars: ✭ 86 (-1.15%)
Mutual labels:  plugin
Speed tools
敏捷开发工具包
Stars: ✭ 85 (-2.3%)
Mutual labels:  plugin

gradle-util-plugins

When classpath for a Gradle JavaExec task is long, Windows command executions give error because of limitation to command line length greater than 32K.

With a number of classpath dependencies in a large project, typically JavaExec Gradle task fails with error "The filename or extension is too long" and this would be a stopping error. To solve this issue, use ManifestClasspath plugin.

ManifestClasspath plugin creates a manifest jar for jar files in the classpath of JavaExec task and sets the classpath with manifest jar.

Usage

To use the plugin, define a dependency in build script and have plugin entry in Gradle project.

build.gradle snippet to use ManifestClasspath plugin

Build script snippet for plugins DSL for Gradle 2.1 and later
plugins {
  id "com.github.ManifestClasspath" version "0.1.0-RELEASE"
}
Build script snippet for use in older Gradle versions or where dynamic configuration is required
buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
  }
}

apply plugin: "com.github.ManifestClasspath"

Build

./gradlew build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].