Skip to content

Commit

Permalink
Add explicit language source/compile dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 19, 2024
1 parent 9deb627 commit 8e2bc68
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions example/empty/empty.example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ plugins {
id("org.metaborg.devenv.spoofax.gradle.project")
}

dependencies {
compileLanguage(project(":empty"))

compileOnly(libs.spoofax.core)
}

spoofaxProject {
addCompileDependenciesFromMetaborgYaml.set(false)
addSourceDependenciesFromMetaborgYaml.set(false)

// Fixes: Could not resolve all dependencies for configuration '<project>:compileClasspath'.
// The project declares repositories, effectively ignoring the repositories you have declared in the settings.
addSpoofaxRepository.set(false)
// Fixes: Could not find org.metaborg:org.metaborg.spoofax.core:property(java.lang.String)
addSpoofaxCoreDependency.set(false)
}


dependencies {
compileLanguage(project(":empty"))

compileOnly(libs.spoofax.core)
}

0 comments on commit 8e2bc68

Please sign in to comment.