Skip to content

Commit

Permalink
Don't add dependency through spoofax.gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 15, 2024
1 parent a66dfef commit 4bf20e7
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/empty/empty.example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ spoofaxProject {
// 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 {
compileOnly(libs.spoofax2.core)
}
3 changes: 3 additions & 0 deletions example/empty/empty.test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ spoofaxTest {
// 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.spoofax2.core)
}
6 changes: 6 additions & 0 deletions example/empty/empty/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ spoofaxLanguageSpecification {
// 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 {
compileOnly(libs.spoofax2.core)
}
6 changes: 6 additions & 0 deletions example/language_contribution_addition/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ spoofaxLanguageSpecification {
// 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 {
compileOnly(libs.spoofax2.core)
}
6 changes: 6 additions & 0 deletions example/language_contribution_override/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ spoofaxLanguageSpecification {
// 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 {
compileOnly(libs.spoofax2.core)
}
6 changes: 6 additions & 0 deletions example/stratego_format_override/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ spoofaxLanguageSpecification {
// 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 {
compileOnly(libs.spoofax2.core)
}

0 comments on commit 4bf20e7

Please sign in to comment.