Skip to content

Commit 0d2a071

Browse files
authored
Revert feature source set
1 parent f5cd09c commit 0d2a071

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,21 +210,16 @@ configure(javaProjects) { subproject ->
210210
srcDirs = ['src/test/resources', 'src/test/java']
211211
}
212212
}
213-
feature {
214-
java {
215-
srcDir 'src/main/java'
216-
}
217-
}
218213
}
219214

220215
java {
221216
withJavadocJar()
222217
withSourcesJar()
223218
registerFeature('optional') {
224-
usingSourceSet(sourceSets.feature)
219+
usingSourceSet(sourceSets.main)
225220
}
226221
registerFeature('provided') {
227-
usingSourceSet(sourceSets.feature)
222+
usingSourceSet(sourceSets.main)
228223
}
229224
}
230225

0 commit comments

Comments
 (0)