Commit ef12050
committed
Fix scalafix errors
(git cherry-pick 3a67ec4)
The `ignoreSourceSets` config is needed to fix errors like this:
```
Execution failed for task ':yubico-util:configSemanticDBMain'.
> Failed to calculate the value of task ':yubico-util:configSemanticDBMain' property 'scalaVersion'.
> Unable to detect the Scala version for the 'main' source set. Please ensure it declares dependency to scala-library or consider adding it to 'ignoreSourceSets'
```
The change to `project-convention-code-formatting-internal.gradle` is needed to fix this error:
```
Execution failed for task ':yubico-util-scala:compileScala'.
> Could not resolve all files for configuration ':yubico-util-scala:detachedConfiguration1'.
> Could not find org.scalameta:semanticdb-scalac_2.13.13:4.5.5.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/scalameta/semanticdb-scalac_2.13.13/4.5.5/semanticdb-scalac_2.13.13-4.5.5.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the re
pository declaration.
Required by:
project :yubico-util-scala
```1 parent 7a785f7 commit ef12050
File tree
6 files changed
+18
-6
lines changed- buildSrc
- src/main/groovy
- webauthn-server-attestation
- webauthn-server-core
- webauthn-server-demo
- yubico-util
6 files changed
+18
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments