fix: deprecation warning from implicit convention reference
This commit is contained in:
parent
340ee3582f
commit
b1011c70fa
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ private fun Project.addMcDevSourcesRoot(mcDevSourceDir: Path) {
|
|||
|
||||
val dir = mcDevSourceDir.toFile()
|
||||
|
||||
the<JavaPluginExtension>().sourceSets.named(SourceSet.MAIN_SOURCE_SET_NAME) {
|
||||
extensions.getByType<JavaPluginExtension>().sourceSets.named(SourceSet.MAIN_SOURCE_SET_NAME) {
|
||||
java {
|
||||
srcDirs(dir)
|
||||
val pathString = dir.invariantSeparatorsPath
|
||||
|
|
Loading…
Reference in a new issue