-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripted source-dependencies/java-class-inv
- Loading branch information
Showing
7 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
zinc/src/sbt-test/source-dependencies/java-class-invs/app/App.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,3 @@ | ||
package pkg | ||
|
||
object App extends Std with LibIntf |
18 changes: 18 additions & 0 deletions
18
zinc/src/sbt-test/source-dependencies/java-class-invs/build.json
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,18 @@ | ||
{ | ||
"projects": [ | ||
{ | ||
"name": "app", | ||
"dependsOn": [ "std", "lib" ], | ||
"scalaVersion": "2.13.3" | ||
}, | ||
{ | ||
"name": "lib", | ||
"dependsOn": [ "std" ], | ||
"scalaVersion": "2.13.3" | ||
}, | ||
{ | ||
"name": "std", | ||
"scalaVersion": "2.13.3" | ||
} | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
zinc/src/sbt-test/source-dependencies/java-class-invs/changes/Std.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,5 @@ | ||
package pkg | ||
|
||
trait Std { | ||
def x = 1 | ||
} |
3 changes: 3 additions & 0 deletions
3
zinc/src/sbt-test/source-dependencies/java-class-invs/lib/LibIntf.java
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,3 @@ | ||
package pkg; | ||
|
||
interface LibIntf {} |
3 changes: 3 additions & 0 deletions
3
zinc/src/sbt-test/source-dependencies/java-class-invs/lib/LibUtil.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,3 @@ | ||
package pkg | ||
|
||
class LibUtil extends Std |
3 changes: 3 additions & 0 deletions
3
zinc/src/sbt-test/source-dependencies/java-class-invs/std/Std.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,3 @@ | ||
package pkg | ||
|
||
trait Std |
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,5 @@ | ||
> app/compile | ||
|
||
$ copy-file changes/Std.scala std/Std.scala | ||
|
||
> app/compile |