forked from jeffheaton/encog-java-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (39 loc) · 913 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
apply plugin: 'java'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.6.1'
}
}
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'nexus'
sourceCompatibility=1.7
targetCompatibility=1.7
version='3.4.0-SNAPSHOT'
group='org.encog'
def props = new Properties();
def localProperties = new File("local.properties")
if (localProperties.exists()) localProperties.withInputStream { props.load(it) }
group = props.get('group')
version = props.get('version')
configurations {
deployerJars
}
repositories {
mavenCentral()
}
apply from: 'publish.gradle'
dependencies {
testCompile 'junit:junit:4.10'
testCompile 'org.hsqldb:hsqldb:2.0.0'
deployerJars 'org.apache.maven.wagon:wagon-ssh:2.1'
}
task createWrapper(type: Wrapper) {
gradleVersion = '2.10'
}
task getVersion << {
println '3.4.0-SNAPSHOT'
}