-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The plugin is not necessary anymore since it was back-ported to all currently supported compiler versions. It also breaks when using this library with the 3.3.1-RC1 Scala version: ``` [error] -- Error: typesafe/shared/src/main/scala/zio/config/typesafe/TypesafeConfigSource.scala:15:0 [error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty ``` I also added a few improvements in the build itself, and fixed a few tests.
- Loading branch information
Showing
15 changed files
with
85 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
derivation/shared/src/main/scala-2.11/zio/config/derivation/NeedsDerive.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...s/shared/src/main/scala/zio/config/examples/autoderivation/AutoDerivationCustomKeys.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
refined/shared/src/test/scala-2.12/zio/config/refined/NumericTestTypes.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package zio.config.refined | ||
|
||
import eu.timepit.refined.W | ||
import eu.timepit.refined.numeric.{Divisible, Greater, GreaterEqual, Less, LessEqual, NonDivisible} | ||
|
||
private[refined] trait NumericTestTypes { | ||
type Less10 = Less[W.`10`.T] | ||
type Greater10 = Greater[W.`10`.T] | ||
type GreaterOrEqual10 = GreaterEqual[W.`10`.T] | ||
type LessOrEqual10 = LessEqual[W.`10`.T] | ||
type DivisibleBy10 = Divisible[W.`10`.T] | ||
type NonDivisibleBy10 = NonDivisible[W.`10`.T] | ||
} |
12 changes: 12 additions & 0 deletions
12
refined/shared/src/test/scala-2.13/zio/config/refined/NumericTestTypes.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package zio.config.refined | ||
|
||
import eu.timepit.refined.numeric.{Divisible, Greater, GreaterEqual, Less, LessEqual, NonDivisible} | ||
|
||
private[refined] trait NumericTestTypes { | ||
type Less10 = Less[10] | ||
type Greater10 = Greater[10] | ||
type GreaterOrEqual10 = GreaterEqual[10] | ||
type LessOrEqual10 = LessEqual[10] | ||
type DivisibleBy10 = Divisible[10] | ||
type NonDivisibleBy10 = NonDivisible[10] | ||
} |
12 changes: 12 additions & 0 deletions
12
refined/shared/src/test/scala-3/zio/config/refined/NumericTestTypes.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package zio.config.refined | ||
|
||
import eu.timepit.refined.numeric.{Divisible, Greater, GreaterEqual, Less, LessEqual, NonDivisible} | ||
|
||
private[refined] trait NumericTestTypes { | ||
type Less10 = Less[10] | ||
type Greater10 = Greater[10] | ||
type GreaterOrEqual10 = GreaterEqual[10] | ||
type LessOrEqual10 = LessEqual[10] | ||
type DivisibleBy10 = Divisible[10] | ||
type NonDivisibleBy10 = NonDivisible[10] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
refined/shared/src/test/scala/zio/config/refined/RequiredNumericTypes.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package zio.config.refined | ||
|
||
private[refined] trait RequiredNumericTypes { this: NumericTestTypes => | ||
type Less10 | ||
type Greater10 | ||
type GreaterOrEqual10 | ||
type LessOrEqual10 | ||
type DivisibleBy10 | ||
type NonDivisibleBy10 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
typesafe/shared/src/main/scala/zio/config/typesafe/TypesafeConfigProvider.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
xml/shared/src/main/scala/zio/config/xml/experimental/XmlConfigProvider.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters