Last active
February 1, 2018 02:03
-
-
Save LiewJunTung/e4fac589f2007d7915a47f722bf12bcd to your computer and use it in GitHub Desktop.
Get hello cocoa
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
/* | |
* This file was generated by the Gradle 'init' task. | |
* | |
* This is a general purpose Gradle build. | |
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds/ | |
*/ | |
group 'org.netvirta' | |
version '0.0.1-SNAPSHOT' | |
apply plugin: 'java' | |
repositories { | |
maven { | |
url "http://localhost:8081/repository/maven-public/" | |
} | |
} | |
dependencies { | |
compile 'org.netvirta:HelloCocoa:0.0.3-SNAPSHOT' | |
implementation 'junit:junit:4.12' | |
} | |
task copyAndUnzip << { | |
copy { | |
from configurations.compile | |
into 'lib' | |
} | |
copy { | |
fileTree(dir: 'lib').include('*.zip').each {File simLib -> | |
println "Unzip ${simLib.name}" | |
def fileName = simLib.name.replace(".zip", "") | |
from zipTree("lib/${simLib.name}") | |
into "lib/unpack" | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment