File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/main/java/org/radarcns/hdfs/util/commandline Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
id ' java'
3
3
id ' java-library'
4
4
id ' application'
5
- id ' com.jfrog.bintray' version ' 1.8.1 '
5
+ id ' com.jfrog.bintray' version ' 1.8.4 '
6
6
id ' maven-publish'
7
7
}
8
8
93
93
94
94
tasks. withType(Tar ){
95
95
compression = Compression . GZIP
96
- extension = ' tar.gz'
96
+ archiveExtension . set( ' tar.gz' )
97
97
}
98
98
99
99
task downloadDependencies {
@@ -104,18 +104,18 @@ task downloadDependencies {
104
104
105
105
task copyDependencies (type : Copy ) {
106
106
from configurations. runtimeClasspath. files
107
- into " ${ buildDir} /third-party/"
107
+ into " $buildDir /third-party/"
108
108
}
109
109
110
110
// custom tasks for creating source/javadoc jars
111
111
task sourcesJar (type : Jar , dependsOn : classes) {
112
- classifier = ' sources'
112
+ archiveClassifier . set( ' sources' )
113
113
from sourceSets. main. allSource
114
114
manifest. from sharedManifest
115
115
}
116
116
117
117
task javadocJar (type : Jar , dependsOn : javadoc) {
118
- classifier = ' javadoc'
118
+ archiveClassifier . set( ' javadoc' )
119
119
from javadoc. destinationDir
120
120
manifest. from sharedManifest
121
121
}
@@ -190,5 +190,5 @@ bintray {
190
190
}
191
191
192
192
wrapper {
193
- gradleVersion ' 5.1 .1'
193
+ gradleVersion ' 5.2 .1'
194
194
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-5.1 .1-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.2 .1-bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ public InstantiatePluginConverter(String optionName) {
108
108
@ Override
109
109
public Plugin convert (String value ) {
110
110
try {
111
- Class cls = Class .forName (value );
112
- return (Plugin )cls .newInstance ();
111
+ Class <?> cls = Class .forName (value );
112
+ return (Plugin )cls .getConstructor (). newInstance ();
113
113
} catch (ReflectiveOperationException | ClassCastException ex ) {
114
114
throw new ParameterException ("Cannot convert " + value + " to Plugin instance" , ex );
115
115
}
You can’t perform that action at this time.
0 commit comments