manshuai

导航

reference local jar & customize manifest

dependencies {
compile files('libs/ghost4j-0.5.1.jar')
compile files('libs/jai_imageio.jar')
compile files('libs/jna-4.1.0.jar')
compile files('libs/log4j-1.2.17.jar')
}

jar {
manifest {
attributes('Implementation-Vendor': 'Sun Microsystems, Inc')
attributes('Implementation-Title': 'Java Runtime Environment')
attributes('Implementation-Version': '1.7.5')
attributes('Main-Class': 'com.orange.magic.ocr.Main')
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

posted on 2016-03-17 15:00  manshuai  阅读(168)  评论(0)    收藏  举报