Closed Octogonapus closed 6 years ago
Try putting this in the wrapper task configuration to possibly help IntelliJ figure out what Gradle to use:
doLast { /* * Copy the properties file into the buildSrc project. * Related issues: * * https://youtrack.jetbrains.com/issue/KT-14895 * https://youtrack.jetbrains.com/issue/IDEA-169717 * https://youtrack.jetbrains.com/issue/IDEA-153336 */ val buildSrcWrapperDir = File(rootDir, "buildSrc/gradle/wrapper") GFileUtils.mkdirs(buildSrcWrapperDir) copy { from(propertiesFile) into(buildSrcWrapperDir) } }
Try putting this in the wrapper task configuration to possibly help IntelliJ figure out what Gradle to use: