Created
November 5, 2014 16:30
-
-
Save xing5/0d5716717f2bc7b26515 to your computer and use it in GitHub Desktop.
Revisions
-
xing5 created this gist
Nov 5, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ apply plugin: 'java' apply plugin: 'eclipse' sourceCompatibility = 1.7 version = '0.1.0' jar { baseName = 'the-package-name' manifest { attributes 'Implementation-Title': 'title', 'Implementation-Version': version } } task initSourceFolders { sourceSets*.java.srcDirs*.each { it.mkdirs() } sourceSets*.resources.srcDirs*.each { it.mkdirs() } } repositories { mavenLocal() mavenCentral() //jcenter() } dependencies { //compile 'commons-collections:commons-collections:3.2' testCompile 'junit:junit:4.+' } uploadArchives { repositories { flatDir { dirs 'repos' } } }