gradle 打jar包 第三方依赖放入lib 目录

jar {
    manifest {
        attributes("Main-Class": "com.thtf.forecast.GuangdongUploader",
                "Implementation-Title": "Gradle")
    }
    into('lib') {
        from configurations.runtime
    }
}

 

你可能感兴趣的:(gradle)