Skip to content

Commit

Permalink
Use test fixture plugin (#551)
Browse files Browse the repository at this point in the history
* Use test fixture plugin

* Exclude intellij dep from text fixtures

---------

Co-authored-by: hfhbd <[email protected]>
  • Loading branch information
hfhbd and hfhbd authored Aug 12, 2023
1 parent 04bb66e commit ca977cf
Show file tree
Hide file tree
Showing 182 changed files with 7 additions and 17 deletions.
7 changes: 6 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.kotlinJvm)
alias(libs.plugins.grammarKitComposer)
id("java-test-fixtures")
}

apply from: "$rootDir/gradle/gradle-mvn-push.gradle"
Expand All @@ -16,9 +17,13 @@ sourceSets {
dependencies {
compileOnly libs.bundles.intelliJ

testFixturesApi project(":core")
testFixturesApi libs.junit
testFixturesCompileOnly libs.bundles.intelliJ

testImplementation libs.junit
testImplementation libs.truth
testImplementation project(":test-fixtures")
testImplementation(libs.bundles.intelliJ)
}

generateLexer {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginManagement {
rootProject.name = "sql-psi"

include ':core'
include ':test-fixtures'

include ':sample-core'
include ':sample-headless'
include ':sample-plugin'
11 changes: 0 additions & 11 deletions test-fixtures/build.gradle

This file was deleted.

4 changes: 0 additions & 4 deletions test-fixtures/gradle.properties

This file was deleted.

0 comments on commit ca977cf

Please sign in to comment.