All Projects → pablisco → Rambuild

pablisco / Rambuild

Licence: gpl-2.0
A plugin to make builds in gradle run on ram instead of the hard drive

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Rambuild

Javafx Gradle Plugin
Gradle plugin for JavaFX
Stars: ✭ 425 (+405.95%)
Mutual labels:  build-tool, gradle-plugin
Dependencycheck
OWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.
Stars: ✭ 3,571 (+4151.19%)
Mutual labels:  build-tool, gradle-plugin
kotlin-plugin-generated
A Kotlin compiler plugin that annotates Kotlin-generated methods for improved coverage reports
Stars: ✭ 33 (-60.71%)
Mutual labels:  gradle-plugin, build-tool
Gogradle
A Gradle Plugin Providing Full Support for Go
Stars: ✭ 712 (+747.62%)
Mutual labels:  build-tool, gradle-plugin
Sake Core
Sake's core interface.
Stars: ✭ 78 (-7.14%)
Mutual labels:  build-tool
Gradle Gae Plugin
Gradle plugin that provides tasks for uploading, running and managing Google App Engine projects
Stars: ✭ 62 (-26.19%)
Mutual labels:  gradle-plugin
Gradle Archetype Plugin
Gradle plugin that creates projects from your own cookiecutter
Stars: ✭ 61 (-27.38%)
Mutual labels:  gradle-plugin
Module Service Manager
Android模块化/组件化通信框架
Stars: ✭ 58 (-30.95%)
Mutual labels:  gradle-plugin
Decent Messup
Mess up js code in a different way
Stars: ✭ 84 (+0%)
Mutual labels:  build-tool
Docker Builder
Docker builder builds Docker images from a friendly config file.
Stars: ✭ 81 (-3.57%)
Mutual labels:  build-tool
Debug Badge
Add badge(version code, version name, etc) for your DEBUG APK.
Stars: ✭ 75 (-10.71%)
Mutual labels:  gradle-plugin
Handroll
🍣 Expertly rolled JavaScript. CLI + library for bundling JavaScript with Rollup.js
Stars: ✭ 66 (-21.43%)
Mutual labels:  build-tool
Gradle Android Apk Size Plugin
Gradle plugin that generates CSV files with apk size per output and variant of an apk
Stars: ✭ 79 (-5.95%)
Mutual labels:  gradle-plugin
Metav
Release and Versioning of Clojure projects using tools.deps
Stars: ✭ 62 (-26.19%)
Mutual labels:  build-tool
Gradle Site Plugin
Documents Gradle tasks and plugins registered by your Gradle project
Stars: ✭ 83 (-1.19%)
Mutual labels:  gradle-plugin
Scuba
Simple Container-Utilizing Build Apparatus
Stars: ✭ 58 (-30.95%)
Mutual labels:  build-tool
Gradle Android Javadoc Plugin
Gradle plugin that generates Java Documentation from an Android Gradle project.
Stars: ✭ 73 (-13.1%)
Mutual labels:  gradle-plugin
Projectbuilder
A tool for easy automating and customizing build process for Unity.
Stars: ✭ 80 (-4.76%)
Mutual labels:  build-tool
Ygor
Task toolkit. For when `npm run` isn't enough and everything else is too much.
Stars: ✭ 69 (-17.86%)
Mutual labels:  build-tool
Gradle Semantic Build Versioning
Gradle plugin to generate version-numbers and tags using semantic versioning
Stars: ✭ 69 (-17.86%)
Mutual labels:  gradle-plugin

Work In Progress [And only working on Mac so far]

The state of this plugin is so much in ple-alpha that it has the potential to open a gap in the space-time continuum, or at the very least it could mess up your computer or project. Use at your own risk. Also, Windows and Linux support will come in the future.

ramBuild

A small plugin to make builds in gradle run on ram instead of the hard drive

Install

If you are using Gradle 2.1 or higher you can use the new syntax:

plugins {
  id "com.pablisco.gradle.rambuild" version "0.1"
}

Otherwise you can add ramBuild to your build on the traditional way:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.pablisco.gradle:plugin:+" // <- change for latest version
  }
}

apply plugin: "com.pablisco.gradle.rambuild"

And that's it, now you are running your build from ram. It's recommended to do this on the root project to avoid conflicts.

Customise

It's possible to change how the plugin works, like this on you gradle script:

ramBuild {
    size = "1g" // This is used to determine the size of the drive (standard {k|m|g} pattern for KB, MB and GB)
    name = "unicorn" // This is the name used when the drive is mounted
}

Why do I need this?

Given you have a generous amount of ram (higher than 4GB) this can help gradle run about 30% faster (comparing SATA SSD to ddr3). But more importantly, this allows your ssd drive to receive less pounding from the compiler. Given that a typical project has thousands of files on top of dependencies, we are looking at a large pile of tiny files that get copied and moved around like there is no tomorrow.

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].