We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b7115 commit c6559ccCopy full SHA for c6559cc
project.gradle
@@ -1,9 +1,7 @@
1
apply plugin: 'java-library'
2
apply plugin: 'application'
3
-apply plugin: 'idea'
4
5
group = 'org.swimos'
6
-idea.module.outputDir file("out/production/classes")
7
version = project.property('swim.version')
8
9
repositories {
@@ -19,8 +17,14 @@ dependencies {
19
17
}
20
18
21
afterEvaluate {
+ sourceSets {
+ main.output.resourcesDir = main.java.outputDir
22
+ }
23
+
24
compileJava {
- options.compilerArgs = ['--module-path', classpath.asPath, '-Xlint:all']
25
+ options.compilerArgs = ['--module-path', classpath.asPath,
26
+ '-Xlint:all',
27
+ '--patch-module', "$moduleName=" + files(sourceSets.main.resources.srcDirs).asPath]
28
classpath = files()
29
options.encoding = 'UTF-8'
30
source = sourceSets.main.allJava
0 commit comments