Skip to content

Commit

Permalink
changed ftp directory for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Jun 21, 2015
1 parent 19c32ee commit fe5218c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ task dist(type: Zip) {
from "$project.buildDir/libs"
}

task dtest << {
println 'task output is ' + tasks.dist.outputs
}
dtest.dependsOn 'dist'

configurations {
ftpAntTask
}
Expand All @@ -126,7 +131,7 @@ task snapshot << {
taskdef(name: 'ftp',
classname: 'org.apache.tools.ant.taskdefs.optional.net.FTP',
classpath: configurations.ftpAntTask.asPath)
ftp(server: "www.zomis.net", userid: creds["username"], password: creds["password"], remoteDir: "public_html/cardshifter.com") {
ftp(server: "www.zomis.net", userid: creds["username"], password: creds["password"], remoteDir: "public_html/cardshifter.com/releases") {
fileset(dir: "$buildDir/distributions") {
include(name: "*.zip")
}
Expand Down

0 comments on commit fe5218c

Please sign in to comment.