This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Usage: | |
# | |
# Add the following at the top of your buildfile, | |
# | |
# require 'proguard.rb' | |
# | |
# And specify your proguard jar in your project, | |
# | |
# package(:proguard).tap do |proguard| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' if RUBY_VERSION < '1.9' | |
require 'sinatra' | |
require 'fileutils' | |
require 'buildr' | |
# The REPO_DIR variable should point to the same folder | |
# configured for the local artifact repository used by | |
# Buildr (a.k.a. the local maven repository). | |
REPO_DIR = dir=File.expand_path("#{ENV['TEMP']}/repo/") |