File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,9 @@ plugins {
11
11
id " java-library"
12
12
id " application"
13
13
id " nebula.ospackage-application" version " 8.0.3"
14
- id " idea"
15
14
}
16
15
17
- idea. module. outputDir file(" out/production/classes" )
18
-
19
- group = ' ai.swim'
16
+ group = ' org.swimos'
20
17
description = ' Tutorial- Web Agents'
21
18
ext. moduleName = ' swim.tutorial'
22
19
sourceCompatibility = 1.9
@@ -38,11 +35,18 @@ dependencies {
38
35
}
39
36
40
37
afterEvaluate {
38
+
39
+ sourceSets {
40
+ main. output. resourcesDir = main. java. outputDir
41
+ }
42
+
41
43
compileJava {
42
44
if (useModules) {
43
45
doFirst {
44
46
options. compilerArgs + = [
45
47
' --module-path' , classpath. asPath,
48
+ ' --patch-module' , " $moduleName ="
49
+ + files(sourceSets. main. resources. srcDirs). asPath,
46
50
]
47
51
classpath = files()
48
52
}
You can’t perform that action at this time.
0 commit comments