Skip to content

Commit

Permalink
Update to jdk 11.
Browse files Browse the repository at this point in the history
  • Loading branch information
niccolotubini committed Feb 21, 2022
1 parent 0d51776 commit 03046d8
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 19 deletions.
19 changes: 15 additions & 4 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
Empty file.
4 changes: 2 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Thu Oct 17 10:16:43 EDT 2019
gradle.version=3.5
#Mon Feb 21 17:10:00 CET 2022
gradle.version=6.6-milestone-3
1 change: 0 additions & 1 deletion .gradle/buildOutputCleanup/cache.properties.lock

This file was deleted.

2 changes: 1 addition & 1 deletion .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Thu Oct 17 10:16:53 EDT 2019
connection.project.dir=
eclipse.preferences.version=1
19 changes: 8 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'eclipse'

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

if (project.hasProperty("projVersion")) {
project.setVersion(projVersion+'-SNAPSHOT')
Expand Down Expand Up @@ -34,11 +34,11 @@ repositories {
url 'http://maven.geo-solutions.it/'
}

mavenCentral() //jgt
mavenCentral()

flatDir {
dirs 'lib'
}
// flatDir {
// dirs 'lib'
// }
}

dependencies {
Expand All @@ -53,10 +53,7 @@ dependencies {
testImplementation 'junit:junit:4.12'

// OMS annotation
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-oms3
compile group: 'org.jgrasstools', name: 'jgt-oms3', version: '0.7.8'

// https://mvnrepository.com/artifact/org.jgrasstools/jgt-jgrassgears
compile group: 'org.jgrasstools', name: 'jgt-jgrassgears', version: '0.7.8'

// https://mvnrepository.com/artifact/org.hortonmachine/hm-gears
implementation group: 'org.hortonmachine', name: 'hm-gears', version: '0.10.4'

}

0 comments on commit 03046d8

Please sign in to comment.