Skip to content

Instantly share code, notes, and snippets.

@LiewJunTung
Last active February 1, 2018 02:03
Show Gist options
  • Save LiewJunTung/e4fac589f2007d7915a47f722bf12bcd to your computer and use it in GitHub Desktop.
Save LiewJunTung/e4fac589f2007d7915a47f722bf12bcd to your computer and use it in GitHub Desktop.
Get hello cocoa
/*
* 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