@@ -61,10 +61,8 @@ buildscript {
61
61
62
62
apply plugin : ' java'
63
63
apply plugin : ' jacoco'
64
- apply plugin : ' maven'
65
- apply plugin : ' maven-publish'
66
- apply plugin : ' nebula.maven-publish'
67
- apply plugin : ' com.jfrog.bintray'
64
+ apply plugin : ' idea'
65
+ apply plugin : ' eclipse'
68
66
69
67
repositories {
70
68
if (CERN_VM ) {
@@ -77,18 +75,23 @@ repositories {
77
75
}
78
76
79
77
if (DEPLOYMENT ) {
78
+ apply plugin : ' maven'
79
+ apply plugin : ' maven-publish'
80
+ apply plugin : ' nebula.maven-publish'
81
+ apply plugin : ' com.jfrog.bintray'
82
+
80
83
println ' Applying deployment scripts'
81
84
apply from : ' ./scripts/bintray-deploy.gradle'
82
85
}
83
86
84
- group ' org.streamingpool '
87
+ group ' org.tensorics '
85
88
86
- sourceCompatibility = 1.8
89
+ sourceCompatibility = JavaVersion . VERSION_1_8
87
90
88
91
dependencies {
89
92
compile ' org.tensorics:tensorics-core:0.+'
90
- compile (group : ' org.springframework.boot' , name : ' spring-boot-starter' , version : ' 1.5.2 .RELEASE' ) { exclude module : " spring-boot-starter-logging" }
91
- testCompile group : ' org.springframework.boot' , name : ' spring-boot-starter-test' , version : ' 1.5.2 .RELEASE'
93
+ compile (group : ' org.springframework.boot' , name : ' spring-boot-starter' , version : ' 1.5.9 .RELEASE' ) { exclude module : " spring-boot-starter-logging" }
94
+ testCompile group : ' org.springframework.boot' , name : ' spring-boot-starter-test' , version : ' 1.5.9 .RELEASE'
92
95
}
93
96
94
97
sourceSets {
@@ -100,16 +103,20 @@ sourceSets {
100
103
101
104
javadoc { options. encoding = " UTF-8" }
102
105
103
- task wrapper (type : Wrapper ) { gradleVersion = ' 4.0 ' }
106
+ task wrapper (type : Wrapper ) { gradleVersion = ' 4.8.1 ' }
104
107
105
- task javadocJar (type : Jar ) {
106
- classifier = ' javadoc'
107
- from javadoc
108
+ if (! project. tasks. findByName(" javadocJar" )) {
109
+ task javadocJar(type : Jar ) {
110
+ classifier = ' javadoc'
111
+ from javadoc
112
+ }
108
113
}
109
114
110
- task sourcesJar (type : Jar ) {
111
- classifier = ' sources'
112
- from sourceSets. main. allSource
115
+ if (! project. tasks. findByName(" sourcesJar" )) {
116
+ task sourcesJar(type : Jar ) {
117
+ classifier = ' sources'
118
+ from sourceSets. main. allSource
119
+ }
113
120
}
114
121
115
122
artifacts { archives javadocJar, sourcesJar }
@@ -122,3 +129,17 @@ jacocoTestReport {
122
129
csv. enabled false
123
130
}
124
131
}
132
+
133
+ eclipse {
134
+ classpath {
135
+ downloadJavadoc = true
136
+ downloadSources = true
137
+ }
138
+ }
139
+
140
+ idea {
141
+ module {
142
+ downloadJavadoc = true
143
+ downloadSources = true
144
+ }
145
+ }
0 commit comments