当前位置 : 主页 > 编程语言 > c++ >

Gradle打jar包带源码

来源:互联网 收集:自由互联 发布时间:2021-06-30
build.gradle jar { //class与java全部打包 from(sourceSets.main.allJava) manifest { attributes( "Manifest-Version": "2.0", "Engineer": "MrXionGe", "Application-Name": "iTools", "Version": "3.1.0" ) }}
build.gradle
jar {
    //class与java全部打包
    from(sourceSets.main.allJava)
    manifest {
        attributes(
                "Manifest-Version": "2.0",
                "Engineer": "MrXionGe",
                "Application-Name": "iTools",
                "Version": "3.1.0"
        )
    }
}
网友评论