Download Build Status

Usage

    buildscript {
        repositories {
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.5.3'
            classpath 'mobi.cangol.plugin:ftp-gradle-plugin:1.0.0'
        }
    }

    apply plugin: 'mobi.cangol.plugin.ftp'

    ftp{
        url '替换为你的 ftp共享主机地址' //如:192.168.1.1
        port '替换为你的 ftp共享的端口' //如:21
        username '替换为你的 ftp共享的 username'
        password '替换为你的 ftp共享的 password'
        debugDir '替换为你的 ftp共享的 debug目录' //如:/app/Debug/
        releaseDir '替换为你的 ftp共享的 release目录' //如:/app/Release/
    }

     './gradlew ftpUploadDebug

License

Copyright 2012 Cangol

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.