Skip to content

Commit 6c7ffb9

Browse files
committed
specified source folders
1 parent bfbd90a commit 6c7ffb9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ buildscript {
1717
}
1818
}
1919

20+
sourceSets {
21+
main { java { srcDir 'src/java' } }
22+
test {
23+
java {
24+
srcDir 'src/examples'
25+
srcDir 'src/test'
26+
}
27+
}
28+
}
29+
2030
if(System.getenv('TRAVIS')){
2131
apply plugin: 'io.codearte.nexus-staging'
2232
apply from: './scripts/deploy.gradle'
@@ -46,4 +56,4 @@ task sourcesJar(type: Jar) {
4656
from sourceSets.main.allSource
4757
}
4858

49-
artifacts { archives javadocJar, sourcesJar }
59+
artifacts { archives javadocJar, sourcesJar }

0 commit comments

Comments
 (0)