Last active
August 29, 2015 14:14
-
-
Save algobardo/89a52a836fbb2b4e5f93 to your computer and use it in GitHub Desktop.
Gradle and one-jar with maven publishing
This file contains hidden or 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
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath 'com.github.rholder:gradle-one-jar:1.0.4' | |
| } | |
| } | |
| apply plugin: 'maven' | |
| mainClassName = "dk.au.cs.thor.entry" | |
| group = "dk.au.cs.thor" | |
| version = "1.0.0" | |
| status = "release" | |
| description = "Instrumentation for Android tests" | |
| install { | |
| repositories.mavenInstaller { | |
| pom.version = project.version | |
| pom.artifactId = "SootInstrumentation" | |
| } | |
| } | |
| apply plugin: 'gradle-one-jar' | |
| task fullJar(type: OneJar) { | |
| mainClass = 'dk.au.cs.thor.entry' | |
| } | |
| artifacts { | |
| archives fullJar | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment