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
.gitignore, and Gradle build script.
master
1 parent
3e58099
commit
367ab2501a045eb3292bd39510409df2c3af828f
Mark George
authored
on 30 May 2018
Patch
Showing
2 changed files
.gitignore
build.gradle
Ignore Space
Show notes
View
.gitignore
0 → 100644
build .nb-gradle .gradle
Ignore Space
Show notes
View
build.gradle
0 → 100644
apply plugin: 'java' repositories { jcenter() } sourceSets { main { java { srcDir 'src' } } } dependencies { // https://mvnrepository.com/artifact/com.google.guava/guava compile group: 'com.google.guava', name: 'guava', version: '23.0' // https://mvnrepository.com/artifact/com.google.code.gson/gson compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2' } task download(type: Copy) { from sourceSets.main.runtimeClasspath into 'libs' } jar { manifest { attributes ( 'Main-Class': 'jrex.JRexFrame' ) } } 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