Skip to content

Commit 517365b

Browse files
committed
the project was brought in Gradle
1 parent f4c3c4f commit 517365b

22 files changed

+176
-1647
lines changed

.classpath

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry kind="lib" path="jar/jgt-grass-0.7.7-SNAPSHOT.jar"/>
6-
<classpathentry kind="lib" path="jar/jgt-hortonmachine-0.7.7-SNAPSHOT.jar"/>
7-
<classpathentry kind="lib" path="jar/jgt-modules-0.7.7-SNAPSHOT.jar"/>
8-
<classpathentry kind="lib" path="jar/jgt-oms3-0.7.7-SNAPSHOT.jar"/>
9-
<classpathentry kind="lib" path="jar/jgt-jgrassgears-0.7.7-SNAPSHOT-jar-with-dependencies.jar"/>
10-
<classpathentry kind="lib" path="jar/hamcrest-core-1.3.jar"/>
11-
<classpathentry kind="lib" path="jar/junit-4.12.jar"/>
3+
<classpathentry kind="src" path="src/main/java">
4+
<attributes>
5+
<attribute name="FROM_GRADLE_MODEL" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="src" path="src/test/java">
9+
<attributes>
10+
<attribute name="FROM_GRADLE_MODEL" value="true"/>
11+
</attributes>
12+
</classpathentry>
13+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
14+
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
1215
<classpathentry kind="output" path="bin"/>
1316
</classpath>

.project

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>rainSnowSep</name>
4-
<comment></comment>
3+
<name>RAIN_SNOW_SEP</name>
4+
<comment>Project RAIN_SNOW_SEP created by Buildship.</comment>
55
<projects>
66
</projects>
77
<buildSpec>
@@ -10,8 +10,14 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
1318
</buildSpec>
1419
<natures>
20+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
1521
<nature>org.eclipse.jdt.core.javanature</nature>
1622
</natures>
1723
</projectDescription>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
build.commands=org.eclipse.jdt.core.javabuilder
2+
connection.arguments=
3+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
4+
connection.java.home=null
5+
connection.jvm.arguments=
6+
connection.project.dir=
7+
derived.resources=.gradle,build
8+
eclipse.preferences.version=1
9+
natures=org.eclipse.jdt.core.javanature
10+
project.path=\:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3+
org.eclipse.jdt.core.compiler.compliance=1.8
4+
org.eclipse.jdt.core.compiler.source=1.8

build.gradle

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
apply plugin: 'java'
2+
apply plugin: 'eclipse'
3+
4+
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
5+
sourceCompatibility = '1.8'
6+
7+
// to get project version from command line, just type
8+
// $ gradle -PprojVersion=<version_number> build
9+
// default is na
10+
if (project.hasProperty('projVersion')) {
11+
project.version = project.projVersion
12+
} else {
13+
project.version = 'na'
14+
}
15+
16+
// name with versioning of the jar file
17+
jar {
18+
manifest {
19+
attributes 'Implementation-Title' : 'Gradle Quickstart',
20+
'Implementation-Version': version
21+
}
22+
}
23+
24+
repositories {
25+
26+
maven {
27+
// jai_core 1.1.3
28+
// jai_codec 1.1.3
29+
url 'http://download.osgeo.org/webdav/geotools/'
30+
}
31+
32+
maven {
33+
// hatbox 1.0.b7
34+
url 'http://maven.geo-solutions.it/'
35+
}
36+
37+
mavenCentral() //jgt
38+
39+
40+
}
41+
42+
dependencies {
43+
44+
compile 'org.slf4j:slf4j-api:1.7.21'
45+
46+
compile group: 'javax.media', name: 'jai_codec', version: '1.1.3'
47+
compile group: 'javax.media', name: 'jai_core', version: '1.1.3'
48+
compile group: 'javax.media', name: 'jai_imageio', version: '1.1'
49+
50+
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-grass
51+
compile group: 'org.jgrasstools', name: 'jgt-grass', version: '0.7.8'
52+
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-hortonmachine
53+
compile group: 'org.jgrasstools', name: 'jgt-hortonmachine', version: '0 .7.8'
54+
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-jgrassgears
55+
compile group: 'org.jgrasstools', name: 'jgt-jgrassgears', version: '0.7.8'
56+
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-modules
57+
compile group: 'org.jgrasstools', name: 'jgt-modules', version: '0.7.8'
58+
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-oms3
59+
compile group: 'org.jgrasstools', name: 'jgt-oms3', version: '0.7.8'
60+
compile group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
61+
62+
testCompile group: 'junit', name: 'junit', version: '4.+'
63+
64+
}

jar/hamcrest-core-1.3.jar

-44 KB
Binary file not shown.

jar/jgt-grass-0.7.7-SNAPSHOT.jar

-546 KB
Binary file not shown.
-886 KB
Binary file not shown.
-35.3 MB
Binary file not shown.

jar/jgt-modules-0.7.7-SNAPSHOT.jar

-172 KB
Binary file not shown.

0 commit comments

Comments
 (0)