Skip to content

Instantly share code, notes, and snippets.

@johnrengelman
Last active December 19, 2015 12:28
Show Gist options
  • Save johnrengelman/5954611 to your computer and use it in GitHub Desktop.
Save johnrengelman/5954611 to your computer and use it in GitHub Desktop.
Shadow Blog Post - part 1
apply plugin: 'groovy'
apply plugin: 'shadow'
buildscript {
repositories {
maven {
name 'Shadow'
url 'http://dl.bintray.com/content/johnrengelman/gradle-plugins'
}
}
dependencies {
classpath 'org.gradle.plugins:shadow:0.7.4'
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.1.5'
}
version = '0.1'
jar {
manifest {
attributes 'Main-Class': 'blog.shadow.HelloWorld'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment