Skip to content

Commit

Permalink
Fixed a possible issue with godot binding generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontrider committed Jan 22, 2023
1 parent 67777a0 commit 10dd3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/initGodotExec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.gradle.process.ExecSpec
* */
internal fun initGodotExec(project: Project, exec: ExecSpec){
with(exec) {
val extension = project.extensions.getByName("godle") as GodleExtension
val extension = project.extensions.getByType(GodleExtension::class.java)
val storePath = getGodotFolder(extension.version.get())

val godotExecutable = storePath + "/" + extension.version.get().getBinaryPath()
Expand Down

0 comments on commit 10dd3f4

Please sign in to comment.