Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge OrganizeImports 0.6.0+37-596459af into Scalafix as a built-in rule #1480

Merged
merged 343 commits into from
Jun 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
343 commits
Select commit Hold shift + click to select a range
2d8d5d1
Introduce the importsOrder configuration (#23)
liancheng Apr 30, 2020
c7a2b70
Fix various corner cases while merging imports with the same prefix (…
liancheng May 1, 2020
ebb56a2
Symbols with EmptyPackage as their owner are also fully-qualified (#26)
liancheng May 1, 2020
8f42c93
Explicitly imported names should not be removed while exploding or me…
liancheng May 1, 2020
71adbc1
Allow coalescing grouped import selectors into a wildcard (#29)
liancheng May 3, 2020
b81a6fa
Minor formatting changes
liancheng May 3, 2020
4d0369f
GitHub does not support rendering AsciiDoc callouts
liancheng May 3, 2020
d3fc0c7
Update latest release in README
liancheng May 3, 2020
48a1906
Add Scoverage and CodeCov integration for test coverage reporting (#31)
liancheng May 3, 2020
2b5fa1c
Fix CodeCov badge
liancheng May 3, 2020
becbc0c
Fix the release workflow
liancheng May 4, 2020
c7bb8d2
Fix a corner case about quoted identifiers containing curly braces (#32)
liancheng May 4, 2020
72b9590
Fix comment typo
liancheng May 4, 2020
22da637
Minor refactoring and comment typo fix
liancheng May 4, 2020
e7d7d9c
Add comments for various corner cases (#33)
liancheng May 4, 2020
13a04d2
Update scalafmt-core to 2.5.1 (#35)
liancheng May 5, 2020
58fc32b
Refactoring: do not interwine semantic and syntactic transformations
liancheng May 6, 2020
1371bab
Implements the SymbolsFirst import sorting order properly (#37)
liancheng May 6, 2020
6af2d8a
Update README.adoc
liancheng May 6, 2020
8a98842
Always move explicitly imported implicits into the trailing order pre…
liancheng May 7, 2020
4786003
Allows keeping the original import order untouched (#39)
liancheng May 7, 2020
5adfa87
Prepare for v0.3.0
liancheng May 7, 2020
5c3e261
Provide an IntelliJ compatible mode (#42)
liancheng May 8, 2020
8f781e8
Minor README updates
liancheng May 8, 2020
de6d023
Preserve source level formatting if an import is already organized (#44)
liancheng May 10, 2020
93490ac
Update scalafmt-core to 2.5.2 (#45)
scala-steward May 10, 2020
98c374f
Use Tree.toString to pretty-print importers (#46)
liancheng May 11, 2020
66580d5
remove non-global unused imports (#47)
bjaglin May 12, 2020
825209c
Remove the intellijCompatible option (#48)
liancheng May 12, 2020
dbdec64
Refactor and fix edge cases in the remove unused imports feature (#49)
liancheng May 13, 2020
86c91c8
Fix unimports handling while merging imports (#50)
liancheng May 13, 2020
b16c54c
Workaround for scalacenter/scalafix#1123 (#51)
liancheng May 14, 2020
da876b9
Update latest-release in README.adoc
liancheng May 14, 2020
80ee64d
Update sbt-scalafmt to 2.4.0 (#52)
scala-steward May 14, 2020
eb08ca4
Check AST position to accurately tell its origin
liancheng May 15, 2020
0e5b4c7
Update README.adoc
liancheng May 16, 2020
a68a126
README typo fix (#56)
github-brice-jaglin May 18, 2020
5eeaa74
importsOrder: correct comparison with IntelliJ in doc (#57)
github-brice-jaglin May 19, 2020
6ccfe5e
Skip package object parent symbols when expanding relative imports (#58)
liancheng May 19, 2020
0156a48
Do not group explicitly imported implicits into the order-preserving …
liancheng May 25, 2020
ef763e1
Fix typo in README.adoc (#60)
lolgab May 25, 2020
df4936f
Prepare for 0.3.1-RC2
liancheng May 25, 2020
f3b2b3f
Minor README formatting update
liancheng May 25, 2020
1c77738
Do not remove "_root_" while expanding relative imports (#63)
liancheng May 26, 2020
b5d3c2b
Update scalafmt-core to 2.5.3 (#66)
scala-steward May 26, 2020
c250314
Fix Scalafix check failure
liancheng May 27, 2020
7de30ae
Update organize-imports version
liancheng May 27, 2020
accf7ba
Update sbt-scalafix, scalafix-core, ... to 0.9.16 (#68)
scala-steward May 27, 2020
89308a8
Update scalafix-core, scalafix-testkit to 0.9.16 (#67)
scala-steward May 27, 2020
5c280d1
Cross-build to 2.13 (#69)
github-brice-jaglin May 30, 2020
c9faaf2
fix coverage reports (#70)
github-brice-jaglin May 30, 2020
3dc23ca
Improve test coverage (#72)
liancheng May 31, 2020
e18d84f
Update sbt to 1.3.12 (#73)
scala-steward May 31, 2020
2be342a
Remove a redundant config check
liancheng May 31, 2020
aebde32
Fix README formatting typo
liancheng Jun 4, 2020
234e08d
Update sbt-scalafix, scalafix-core, ... to 0.9.17 (#74)
scala-steward Jun 9, 2020
6fb5b66
Fix #64: Infinite loop (#75)
japgolly Jun 11, 2020
76e35bf
Update .gitignore
liancheng Jun 15, 2020
1b262b6
Update scalafmt-core to 2.6.0 (#76)
scala-steward Jun 18, 2020
29844e6
Update scalafmt-core to 2.6.1 (#77)
scala-steward Jun 19, 2020
d4ac2f6
isFullyQualified should take Symbols.None into consideration
liancheng Jun 21, 2020
ec60ddd
Minor refactoring and Scaladoc
liancheng Jun 21, 2020
bedb8f0
Fix issue #65 (#78)
liancheng Jun 21, 2020
cd3b524
Revert a minor safe change accidentally checked-in.
liancheng Jun 21, 2020
850d7da
Update organize-imports to 0.3.1-RC3 (#79)
scala-steward Jun 21, 2020
177cd07
Minor whitespacing changes
liancheng Jun 22, 2020
d70062c
Update latest-release to 0.3.1-RC3
liancheng Jun 22, 2020
0c88c1c
Allow -Xlint in OrganizeImports.removeUnused (#80)
taisukeoe Jun 25, 2020
13991d2
Deduplicate importees before organizing an import group (#82)
liancheng Jun 27, 2020
68a781a
Update sbt to 1.3.13 (#83)
scala-steward Jun 27, 2020
83beb3a
Fix #84 (#85)
liancheng Jun 30, 2020
b2b4fe6
Fix Scalafix link (#86)
manuzhang Jul 2, 2020
83cd50b
Update sbt-scalafix, scalafix-core to 0.9.18 (#88)
scala-steward Jul 5, 2020
dc6399f
Update scalafmt-core to 2.6.2 (#89)
scala-steward Jul 6, 2020
0706895
Issue a warning when any importer ref symbol information is missing (…
liancheng Jul 6, 2020
23174ac
Be explicit that names with multiple aliases in the same source file …
liancheng Jul 7, 2020
919dded
Eliminate a Scala 2.13 compilation warning
liancheng Jul 7, 2020
ed9bf80
Fix typo in README.adoc
liancheng Jul 8, 2020
aa57d99
Update scalafmt-core to 2.6.3 (#93)
scala-steward Jul 18, 2020
45390ff
Update sbt-scalafix to 0.9.19 (#95)
scala-steward Jul 18, 2020
3550ca9
Update scalafix-core to 0.9.19 (#94)
scala-steward Jul 18, 2020
3cb4837
Remove unneeded curly-braces in imports (#97)
liancheng Jul 18, 2020
5adfdeb
Make it clear that only RemovedUnused.imports is not safe to use toge…
liancheng Jul 18, 2020
5fab2ac
Prepare for the v0.4.0 release
liancheng Jul 18, 2020
d25e804
Update organize-imports to 0.4.0 (#98)
scala-steward Jul 19, 2020
7c8237e
Move scala.meta imports to the wildcard group (#100)
liancheng Jul 21, 2020
f5ee0a8
Refactor import matchers
liancheng Jul 21, 2020
df2e29e
Update scalafmt-core to 2.6.4 (#99)
scala-steward Jul 21, 2020
9c4df4e
Enable scalafixOnCompile
liancheng Jul 23, 2020
f055d52
Fix typos
liancheng Jul 26, 2020
a7a2283
Add in example for how to use with Mill. (#102)
ckipp01 Jul 26, 2020
f6e7857
Minor README tweaks
liancheng Jul 27, 2020
2f0117f
README tweaks
liancheng Jul 27, 2020
80f340c
Update sbt-scalafmt to 2.4.2 (#103)
scala-steward Aug 3, 2020
d370e71
Update sbt-scalafix, scalafix-core, ... to 0.9.20 (#106)
scala-steward Sep 2, 2020
143b078
Update scalafmt-core to 2.7.0 (#108)
liancheng Sep 11, 2020
eda949e
README update
liancheng Sep 11, 2020
e7aee68
Update scalafmt-core to 2.7.1 (#109)
scala-steward Sep 14, 2020
14d7eb7
Update scalafmt-core to 2.7.2 (#110)
scala-steward Sep 19, 2020
80d93d0
Fix #101 (#104)
liancheng Sep 21, 2020
64ebe40
Fix a deprecation warning
liancheng Sep 22, 2020
6de245a
Prepare for v0.4.1
liancheng Sep 22, 2020
0e5cf6b
Update organize-imports to 0.4.1 (#112)
scala-steward Sep 22, 2020
0356d25
Cross-compile rule for 2.11 (#113)
gabro Sep 26, 2020
cdc0165
Fix removeUnused on 2.11 (#114)
gabro Sep 27, 2020
5f0ecf7
Update organize-imports to 0.4.2 (#115)
scala-steward Sep 27, 2020
05d28ff
Update latest-release in README.adoc
liancheng Sep 28, 2020
45b0378
Update scalafmt-core to 2.7.3 (#116)
scala-steward Sep 29, 2020
ba5c08f
Update sbt to 1.4.0 (#117)
scala-steward Oct 5, 2020
5fd9a63
Update scalafmt-core to 2.7.4 (#118)
scala-steward Oct 6, 2020
feb8a7e
Update comments
liancheng Oct 11, 2020
e821753
Add the AggressiveMerge option for the groupedImports configuration (…
liancheng Oct 16, 2020
235b683
Update scalafmt-core to 2.7.5 (#120)
scala-steward Oct 17, 2020
ba6bd39
Update sbt to 1.4.1 (#121)
scala-steward Oct 19, 2020
1820c72
Update latest-release in README.adoc
liancheng Oct 20, 2020
a3623de
Minor docs fix
liancheng Oct 20, 2020
8d3ae1e
Update organize-imports to 0.4.3 (#122)
scala-steward Oct 20, 2020
8890260
Minor refactoring
liancheng Oct 27, 2020
2c630d1
Update sbt to 1.4.2 (#123)
scala-steward Nov 2, 2020
67cf41e
Update sbt-ci-release to 1.5.4 (#124)
scala-steward Nov 4, 2020
1542c0d
Update sbt-scalafix, scalafix-core, ... to 0.9.23 (#125)
scala-steward Nov 5, 2020
28c5fb6
Update README
liancheng Nov 16, 2020
7c98390
Update sbt to 1.4.3 (#126)
scala-steward Nov 16, 2020
b14d949
Preserve the original source-level formatting when possible after mer…
liancheng Nov 17, 2020
29aba3e
Add tests for PR #128 (#129)
liancheng Nov 17, 2020
7925b27
Add tests for PR #128, for real (#130)
liancheng Nov 17, 2020
e93f2f5
Simplify PR #128 (#131)
liancheng Nov 18, 2020
67ab8d9
Use dependabot to manage GitHub actions versions (#132)
liancheng Nov 18, 2020
c7078fc
Bump actions/checkout from v1 to v2.3.4 (#133)
dependabot[bot] Nov 18, 2020
05ef07f
Update organize-imports to 0.4.4 (#134)
scala-steward Nov 18, 2020
3beda98
Update latest-release in README
liancheng Nov 18, 2020
ee35568
Update README
liancheng Nov 19, 2020
0932541
Update README
liancheng Nov 20, 2020
c9dc344
Increase README ToC level by 1
liancheng Nov 21, 2020
7114f06
README cleanup
liancheng Nov 21, 2020
2f15d0c
Fix a README typo
liancheng Nov 22, 2020
f1237e1
Update sbt to 1.4.4 (#136)
scala-steward Nov 23, 2020
2815d05
Update sbt-scalafix, scalafix-core to 0.9.24 (#138)
scala-steward Nov 27, 2020
dd1a2f7
Update sbt-ci-release to 1.5.5 (#139)
scala-steward Dec 4, 2020
4c75fad
Update sbt to 1.4.5 (#141)
scala-steward Dec 15, 2020
b263031
Update sbt to 1.4.6 (#144)
scala-steward Dec 24, 2020
869e427
Use new IntelliJ import order (#143)
Dec 28, 2020
95a5403
Allow customizing blank lines between organized import groups (#142)
liancheng Jan 11, 2021
feacd23
Fix README typo
liancheng Jan 11, 2021
784b141
Fetch all tags to fix snapshot releases
liancheng Jan 12, 2021
163a3bf
Align with IntelliJ (#146)
Jan 12, 2021
abf3818
Revert changes to test output files made in #146
liancheng Jan 12, 2021
5a73265
Update README
liancheng Jan 12, 2021
8572df6
Enable Coursier cache in CI
liancheng Jan 12, 2021
f4f54e5
Prepare for pre-release v0.5.0-alpha.1
liancheng Jan 12, 2021
2b071cf
Remove redundant GitHub action step
liancheng Jan 13, 2021
7e8f5c3
Fix importer order when sorting by ASCII (#149)
liancheng Jan 13, 2021
574bc20
Renames and wildcard should not be separated (#151)
liancheng Jan 14, 2021
fbfc68f
Update sbt to 1.4.7 (#156)
scala-steward Jan 31, 2021
a906139
Add preset styles, including one for IntelliJ IDEA 2020.3 (#154)
liancheng Feb 1, 2021
f5c93b6
Update sbt to 1.4.7 (#156)
scala-steward Jan 31, 2021
814c2a6
Merge branch 'branch-0.5'
liancheng Feb 1, 2021
988a4a1
Prepare for v0.5.0
liancheng Feb 1, 2021
3476494
Update organize-imports to 0.5.0 (#157)
scala-steward Feb 1, 2021
ee7dffb
Fix README
liancheng Feb 1, 2021
585f66b
Fix README
liancheng Feb 1, 2021
a9baef8
One more README fix
liancheng Feb 1, 2021
332cfad
Update sbt to 1.4.8 (#160)
scala-steward Mar 8, 2021
4eb7929
Update sbt to 1.4.9 (#161)
scala-steward Mar 10, 2021
fb60f0c
Update sbt-ci-release to 1.5.6 (#162)
scala-steward Mar 11, 2021
d9a3231
Update sbt-ci-release to 1.5.7 (#163)
scala-steward Mar 23, 2021
79d2520
Bump coursier/cache-action from v5 to v6 (#165)
dependabot[bot] Apr 1, 2021
4552eeb
Update sbt to 1.5.0 (#166)
scala-steward Apr 5, 2021
dad3160
Update sbt to 1.5.1 (#168)
scala-steward Apr 26, 2021
439d2c1
Update sbt to 1.5.2 (#176)
scala-steward May 10, 2021
b05d340
Minor refactoring for clarity
liancheng May 12, 2021
dc6ac8b
Update sbt-scoverage to 1.8.1 (#180)
scala-steward May 21, 2021
01c5c99
Update sbt-scalafix, scalafix-core to 0.9.28 (#181)
scala-steward May 24, 2021
002a0f4
Update sbt-scoverage to 1.8.2 (#182)
scala-steward May 28, 2021
4a1dd93
Bump olafurpg/setup-scala from 10 to 11 (#184)
dependabot[bot] Jun 1, 2021
4cda16e
Update sbt-scalafix, scalafix-core to 0.9.29 (#183)
scala-steward Jun 1, 2021
dc51e3f
Update sbt to 1.5.3 (#185)
scala-steward Jun 1, 2021
234f8a2
Update README
liancheng Jun 7, 2021
68d9108
Loosen Codecov threshold to ignore minor coverage drop caused by cosm…
liancheng Jun 9, 2021
7125494
Update sbt to 1.5.4 (#188)
scala-steward Jun 14, 2021
1589fa8
Test Scala 3 support using sbt-projectmatrix (#179)
github-brice-jaglin Jun 29, 2021
992ff4c
Bump olafurpg/setup-scala from 11 to 12 (#189)
dependabot[bot] Jul 1, 2021
10d7401
GitHub actions fixes (#190)
github-brice-jaglin Jul 2, 2021
f5cd825
Update scala3-library to 3.0.1 (#192)
scala-steward Jul 9, 2021
ad32b4d
Update sbt-scalafmt to 2.4.3 (#191)
scala-steward Jul 9, 2021
363e2c7
Update sbt to 1.5.5 (#193)
scala-steward Jul 12, 2021
f9a939b
Minor refactoring
liancheng Jul 12, 2021
a357eca
[Scala 3] Add support for given imports (#187)
tgodzik Jul 26, 2021
d06e580
Run the CI jobs using JDK 11 (#194)
liancheng Jul 27, 2021
549d2a4
Fix given imports ordering (#195)
liancheng Jul 28, 2021
0122d0c
Bump codecov/codecov-action from 1 to 2.0.2 (#196)
dependabot[bot] Aug 1, 2021
483092f
Coalesce given imports (#198)
liancheng Aug 3, 2021
eb9e0b5
Run CI jobs with both JDK 8 and 11 (#199)
liancheng Aug 3, 2021
64b893b
Update sbt-scalafix to 0.9.30 (#201)
liancheng Aug 16, 2021
d3f7ccc
Refactoring support for `given` imports (#203)
liancheng Aug 19, 2021
20c2923
Bump codecov/codecov-action from 2.0.2 to 2.0.3 (#206)
dependabot[bot] Sep 1, 2021
3789599
Bump olafurpg/setup-scala from 12 to 13 (#207)
dependabot[bot] Sep 1, 2021
15a5002
Update scala3-library to 3.0.2 (#208)
scala-steward Sep 1, 2021
b1d81d6
Update sbt-scoverage to 1.9.0 (#211)
scala-steward Sep 16, 2021
7e4a4f8
Update sbt-ci-release to 1.5.9 (#216)
scala-steward Sep 22, 2021
ea94405
Update sbt-scalafix, scalafix-core to 0.9.31 (#212)
scala-steward Oct 14, 2021
6c929a4
Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#218)
dependabot[bot] Oct 14, 2021
c708d59
Update sbt-scoverage to 1.9.1 (#222)
scala-steward Oct 14, 2021
1cc9da4
Update sbt-ci-release to 1.5.10 (#223)
scala-steward Oct 14, 2021
2d0b38c
Update scala3-library to 3.1.0 (#224)
scala-steward Nov 1, 2021
f24c6a6
Bump actions/checkout from 2.3.4 to 2.3.5 (#228)
dependabot[bot] Nov 1, 2021
eb962f1
Upgrade Scalafmt to 3.0.8 (#229)
liancheng Nov 1, 2021
ab56124
Note that Scala 3 support is only available in snapshot releases
liancheng Nov 1, 2021
487eca1
fix release process (#231)
bjaglin Nov 3, 2021
8fbbb5f
Update sbt-scoverage to 1.9.2 (#230)
scala-steward Nov 3, 2021
ede2673
Prepare for release v0.6.0
liancheng Nov 5, 2021
f2bf785
Update sbt-projectmatrix to 0.9.0 (#232)
scala-steward Nov 6, 2021
5c4c782
Update scalafmt-core to 3.1.0 (#234)
liancheng Nov 10, 2021
2c1b1e7
Update scalafmt-core to 3.1.1 (#236)
scala-steward Nov 15, 2021
aee0445
Update sbt-scalafix, scalafix-core to 0.9.32 (#235)
scala-steward Nov 15, 2021
d1f60b1
Update sbt-scalafmt to 2.4.4 (#237)
scala-steward Nov 19, 2021
400f654
Update scalafmt-core to 3.1.2 (#238)
scala-steward Nov 22, 2021
4fb96e2
Update sbt-scalafix, scalafix-core to 0.9.33 (#239)
scala-steward Nov 29, 2021
93c0f48
Bump actions/checkout from 2.3.5 to 2.4.0 (#241)
dependabot[bot] Dec 1, 2021
9772c84
Update scalafmt-core to 3.2.0 (#240)
scala-steward Dec 1, 2021
70791fa
Update scalafmt-core to 3.2.1 (#242)
scala-steward Dec 3, 2021
340a7a3
Update sbt-scalafmt to 2.4.5 (#243)
scala-steward Dec 16, 2021
658b52d
Update sbt to 1.5.7 (#245)
scala-steward Dec 16, 2021
195437e
Update sbt to 1.5.8 (#246)
scala-steward Dec 21, 2021
ff7ff4f
Update scalafmt-core to 3.2.2 (#247)
scala-steward Jan 8, 2022
cf3eac4
Update sbt-scalafmt to 2.4.6 (#248)
scala-steward Jan 8, 2022
208a5b5
Update sbt to 1.6.1 (#250)
scala-steward Jan 8, 2022
49cd284
Update scalafmt-core to 3.3.1 (#251)
scala-steward Jan 10, 2022
8023bb8
Update sbt-scoverage to 1.9.3 (#252)
scala-steward Jan 11, 2022
d92fd35
Update sbt-scalafix, scalafix-core to 0.9.34 (#253)
scala-steward Jan 11, 2022
39d3dac
Update scalafmt-core to 3.3.3 (#255)
scala-steward Jan 23, 2022
525e02c
Update scalafmt-core to 3.4.0 (#256)
scala-steward Feb 1, 2022
3dd3c59
Update sbt to 1.6.2 (#257)
scala-steward Feb 1, 2022
f966216
Update scala3-library to 3.1.1 (#258)
scala-steward Feb 2, 2022
fe3db39
Update scalafmt-core to 3.4.2 (#260)
scala-steward Feb 7, 2022
e26c06f
Update scalafmt-core to 3.4.3 (#261)
scala-steward Feb 14, 2022
b811e00
Minor refactoring
liancheng Mar 2, 2022
9997fc7
Fix pattern match error
liancheng Mar 2, 2022
32a4314
Fix README typo
liancheng Mar 24, 2022
2bc0b34
Bump actions/checkout from 2.4.0 to 3 (#262)
dependabot[bot] Apr 12, 2022
2b5195c
Update scalafmt-core to 3.5.0 (#263)
scala-steward Apr 12, 2022
f3b6e77
Update scala3-library to 3.1.2 (#267)
scala-steward Apr 12, 2022
e03abc6
Bump codecov/codecov-action from 2.1.0 to 3.1.0 (#270)
dependabot[bot] Jul 6, 2022
de9a3d3
Update scala3-library to 3.1.3 (#273)
scala-steward Jul 12, 2022
97b20e5
Preserve the original source-level formatting when possible after exp…
johnspade Jul 26, 2022
ff3d738
Update sbt-scalafmt to 2.5.0 (#298)
scala-steward Dec 2, 2022
bc636f9
Update scala3-library to 3.2.1 (#296)
scala-steward Dec 2, 2022
596459a
Bump olafurpg/setup-scala from 13 to 14 (#303)
dependabot[bot] Apr 11, 2023
b10f4f2
Merge remote-tracking branch 'organize-imports/master' into organize-…
bjaglin May 23, 2023
2693281
do not fetch nor load OrganizeImports JAR
bjaglin Jun 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ scalafix-tests
|
├── integration # Integration test suites
|
├── shared # Code that is shared between input and unit projects
├── input # Source files to be analyzed and fixed by rules
├── output # Expected output from running rewrite rules
└── expect # Verify expectations defined in input/output using testkit
Expand Down
12 changes: 12 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ lazy val testkit = projectMatrix
.jvmPlatform(buildScalaVersions)
.dependsOn(cli)

lazy val shared = projectMatrix
.in(file("scalafix-tests/shared"))
.settings(
noPublishAndNoMima,
coverageEnabled := false
)
.defaultAxes(VirtualAxis.jvm)
.jvmPlatformFull(buildWithTargetVersions.map(_._2))
.disablePlugins(ScalafixPlugin)

lazy val input = projectMatrix
.in(file("scalafix-tests/input"))
.settings(
Expand All @@ -189,6 +199,7 @@ lazy val input = projectMatrix
.defaultAxes(VirtualAxis.jvm)
.jvmPlatformFull(buildWithTargetVersions.map(_._2))
.disablePlugins(ScalafixPlugin)
.dependsOn(shared)

lazy val output = projectMatrix
.in(file("scalafix-tests/output"))
Expand All @@ -201,6 +212,7 @@ lazy val output = projectMatrix
.defaultAxes(VirtualAxis.jvm)
.jvmPlatform(buildScalaVersions)
.disablePlugins(ScalafixPlugin)
.dependsOn(shared)

lazy val unit = projectMatrix
.in(file("scalafix-tests/unit"))
Expand Down
Loading