Using Gradle to pack your java application as a fat jar

作者:Rui 发布时间:March 4, 2016 分类:JAVA,ANDROID 浏览:522

使用Gradle 将应用程序和依赖包打包到一个JAR内

jar {
    from {
        fileTree(dir: 'libs', include: '*.jar').collect {
            it.isDirectory() ? it : zipTree(it)
        }
    }
}

标签: gradle

添加新评论 »