GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
mark.george
/
jrex
Browse code
Update Gson and Guava libraries to latest versions
master
1 parent
755d14f
commit
5d8c7adc5cf2b964e271323444e052d8dec01f79
Mark George
authored
on 5 Aug 2020
Patch
Showing
1 changed file
build.gradle
Ignore Space
Show notes
View
build.gradle
plugins { id 'java' } repositories { jcenter() } dependencies { implementation group: 'com.google.guava', name: 'guava', version: '29.0-jre' implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6' implementation group: 'com.formdev', name: 'flatlaf', version: '0.39' } task download(type: Copy) { from sourceSets.main.runtimeClasspath into 'libs' } jar { manifest { attributes ( 'Main-Class': 'JRex' ) } } // make a fat JAR task dist(type: Jar) { manifest.from jar.manifest baseName = 'jrex' from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } } destinationDir = file('dist') with jar }
plugins { id 'java' } repositories { jcenter() } dependencies { // https://mvnrepository.com/artifact/com.google.guava/guava implementation group: 'com.google.guava', name: 'guava', version: '23.0' // https://mvnrepository.com/artifact/com.google.code.gson/gson implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.2' implementation group: 'com.formdev', name: 'flatlaf', version: '0.39' } task download(type: Copy) { from sourceSets.main.runtimeClasspath into 'libs' } jar { manifest { attributes ( 'Main-Class': 'JRex' ) } } // make a fat JAR task dist(type: Jar) { manifest.from jar.manifest baseName = 'jrex' from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } } destinationDir = file('dist') with jar }
Show line notes below