File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed 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-4.7-all.zip
3
4
zipStoreBase =GRADLE_USER_HOME
4
5
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ subprojects {
108
108
}
109
109
110
110
val sourceJarTask = task<Jar >(" sourceJar" ) {
111
- from(the< JavaPluginConvention >() .sourceSets[" main" ].allSource)
111
+ from(java .sourceSets[" main" ].allSource)
112
112
classifier = " sources"
113
113
}
114
114
@@ -143,7 +143,7 @@ val jacocoRootReport = task<JacocoReport>("jacocoRootReport") {
143
143
144
144
subprojects.forEach { testedProject ->
145
145
val sourceSets = testedProject.java.sourceSets
146
- this @task.additionalSourceDirs + = files(sourceSets[" main" ].allSource.srcDirs)
146
+ this @task.additionalSourceDirs = this @task.additionalSourceDirs?.plus( files(sourceSets[" main" ].allSource.srcDirs) )
147
147
this @task.sourceDirectories + = files(sourceSets[" main" ].allSource.srcDirs)
148
148
this @task.classDirectories + = files(sourceSets[" main" ].output)
149
149
}
@@ -169,7 +169,7 @@ configurations.create(PUBLISHED_CONFIGURATION_NAME)
169
169
170
170
task<Wrapper >(" wrapper" ) {
171
171
description = " Configure the version of gradle to download and use"
172
- gradleVersion = " 4.4.1 "
172
+ gradleVersion = " 4.7 "
173
173
distributionType = Wrapper .DistributionType .ALL
174
174
}
175
175
You can’t perform that action at this time.
0 commit comments