Skip to content

Commit

Permalink
Fix bootstrap gen
Browse files Browse the repository at this point in the history
  • Loading branch information
CedNaru committed Oct 11, 2024
1 parent 8f6900b commit c99af71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion kt/godot-library/godot-api-library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
// added here as a transitive dependency so the user can use reflection
// we need to add it here so reflection is available where the code is loaded (Bootstrap.kt) otherwise it will not work
api(kotlin("reflect", version = libs.versions.kotlin.get()))
compileOnly(project(":godot-core-library"))
api(project(":godot-core-library"))
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ fun Project.setupConfigurationsAndCompilations() {
//add our dependencies to the main compilation -> convenience for the user
kotlinJvmExtension.target.compilations.getByName("main").apply {
dependencies {
compileOnly("com.utopia-rise:$godotCoreLibraryArtifactName:${GodotBuildProperties.assembledGodotKotlinJvmVersion}")
compileOnly("com.utopia-rise:$godotApiLibraryArtifactName:${GodotBuildProperties.assembledGodotKotlinJvmVersion}")
compileOnly("com.utopia-rise:godot-kotlin-symbol-processor:${GodotBuildProperties.assembledGodotKotlinJvmVersion}")
}
Expand All @@ -33,7 +32,6 @@ fun Project.setupConfigurationsAndCompilations() {
val bootstrapConfiguration = configurations.create("bootstrap") {
with(it.dependencies) {
add(dependencies.create("org.jetbrains.kotlin:kotlin-stdlib:${kotlinJvmExtension.coreLibrariesVersion}"))
add(dependencies.create("com.utopia-rise:$godotCoreLibraryArtifactName:${GodotBuildProperties.assembledGodotKotlinJvmVersion}"))
add(dependencies.create("com.utopia-rise:$godotApiLibraryArtifactName:${GodotBuildProperties.assembledGodotKotlinJvmVersion}"))
add(dependencies.create("com.utopia-rise:tools-common:${GodotBuildProperties.assembledGodotKotlinJvmVersion}"))

Expand Down

0 comments on commit c99af71

Please sign in to comment.