简体   繁体   中英

How to tell whether a JAR was built with Gradle?

Is it possible to tell (at least some of the time) whether a JAR was built with Gradle?

I'm am looking for a distinguishing feature similar to Ant's Ant-Version META-INF/MANIFEST.MF entry or Maven's META-INF/maven/…/pom.properties JAR entry.

Note: I am not interested in “making up” a custom distinguishing feature (like my own manifest entry), but rather in determining whether a JAR found “in the wild” was built with Gradle, so any answer must point to an already established convention that is adhered to at least some of the time.

不,Gradle默认情况下是透明的,就像构建工具一样。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM