Thrifty compiler jar in 2.0.1 is a fat jar
See original GitHub issueFor some reason, the 2.0.1 is a fat jar that contains the classes for all other dependencies. This is very apparent when you look at the size when compared to the 2.0.0-RC1 version:
-rw-r--r-- 1 deepanshu staff 20K Aug 27 2019 2.0.0-RC1/e18e2c2a611b30d5de472cf6fddee3c16d704d09/thrifty-compiler-2.0.0-RC1.jar
-rw-r--r-- 1 deepanshu staff 22M May 13 22:13 2.0.1/d8320ed69eb0f89c220566814cad2a8cbefb8c85/thrifty-compiler-2.0.1.jar
The side effect is that if someone wants to use it in a project with a different version of guava or some other dependency, it will be difficult.
Not sure what was the difference in compiling 2.0.0-RC1 and 2.0.0, but filing this issue so that it can be investigated before doing the next release.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
java - What is a fat JAR? - Stack Overflow
The fat jar is the jar, which contains classes from all the libraries, ... project.name + '-all' from { configurations.compile.collect { it.
Read more >Fat jar cannot fails with "Failed to copy" errors on Windows ...
I am trying to build a fat jar using gradle on windows. The same gradle project builds fine on unix. The problem in...
Read more >Cannot create fat jar with project with transitive dependency ...
I would expect to have a fat jar with my code, my dependencies, ... plugin: 'com.github.johnrengelman.shadow' dependencies { compile group: ...
Read more >io.smartdatalake : sdl-parent : 2.0.1 - Maven Central
Build your data lake the smart way. Licenses. GNU General Public License (GPL) version 3. Home page, http://www.smartdatalake.io.
Read more >Creating a Fat Jar in Gradle | Baeldung
Basically, a fat jar (also known as uber-jar) is a self-sufficient archive which contains both classes and dependencies needed to run an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m preparing the 2.1.0 release, and can confirm that this is no longer an issue, as seen in this Sonatype screenshot:
I double-checked the commit history, and it looks like I added the current publishing system (the
gradle-maven-publish-plugin
) after the most recent full release. As best as I can tell, the next release won’t have this issue. I’ll keep it open until then, and will double-check before publishing.