Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf639b94

Browse files
committed
Fix generated Java source path
Gradle is happy with being given the wrong `srcDir`, but IntelliJ is not. We set the source directory to `.../generated/source/stone/{main,test}`, but it should be `.../{main,test}/src` because Stone creates an extra `src` directory. This makes IntelliJ unable to find the relevant classes.
1 parentf9ee16b commitf639b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎stone.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ project.sourceSets.all { SourceSet sourceSet ->
136136
}
137137
}
138138

139-
sourceSet.java.srcDir project.tasks."${taskName}".outputDir
139+
sourceSet.java.srcDir project.tasks."${taskName}".outputDir+"/src"
140140
Task compile= project.tasks.getByName(sourceSet.getCompileTaskName("java"))
141141
compile.dependsOn project.tasks."${taskName}"
142142
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp