Skip to content

Commit

Permalink
Just few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sidereus3 committed Oct 17, 2016
1 parent 42c5bd2 commit cab89a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: java
jdk:
- oraclejdk8
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
before_deploy:
- export GRADLE_BUILD_DIR="build/libs"
- export TAG=$(git describe --abbrev=0 --tags)
Expand Down
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
apply plugin: 'java'
apply plugin: 'eclipse'

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = '1.8'

// to get project version from command line, just type
// $ gradle -PprojVersion=<version_number> build
// default is na
if (project.hasProperty('projVersion')) {
project.version = project.projVersion
} else {
project.version = 'na'
}

// name with versioning of the jar file
jar {
manifest {
attributes 'Implementation-Title' : 'Gradle Quickstart',
'Implementation-Version': version
}
}

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

repositories {

maven {
Expand Down

0 comments on commit cab89a7

Please sign in to comment.