Created
November 8, 2012 00:56
-
-
Save xconnecting/4035712 to your computer and use it in GitHub Desktop.
Sample: build.gradle for Gradle custom plugin
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
apply plugin: 'groovy' | |
apply plugin: 'eclipse' | |
apply plugin: 'maven' | |
group = 'com.example' | |
archivesBaseName = 'greet' | |
version = '1.0-SNAPSHOT' | |
dependencies { | |
compile gradleApi() | |
groovy localGroovy() | |
} | |
uploadArchives { | |
repositories { | |
mavenDeployer { | |
repository(url: 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment