-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project import generated by Copybara.
GitOrigin-RevId: cf7e8cf12490d26a951a8eba306859b620de60b1
- Loading branch information
1 parent
0b78493
commit f689477
Showing
8 changed files
with
55 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.3.0 | ||
7.3.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel_dep(name = "rules_java", version = "7.11.1") |
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 @@ | ||
7.3.1 |
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 @@ | ||
bazel-* |
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,26 @@ | ||
""" | ||
SPDX-FileCopyrightText: Copyright 2024 Julian Amann <[email protected]> | ||
SPDX-License-Identifier: Apache-2.0 | ||
""" | ||
|
||
bazel_dep(name = "contrib_rules_jvm", version = "0.27.0") | ||
bazel_dep(name = "rules_java", version = "7.11.1") | ||
bazel_dep(name = "rules_jvm_external", version = "6.2") | ||
|
||
#------------------------------------------------------------------------------------- | ||
# rules_jvm | ||
#------------------------------------------------------------------------------------- | ||
|
||
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") | ||
maven.install( | ||
artifacts = [ | ||
"org.junit.jupiter:junit-jupiter-api:5.11.0", | ||
"org.junit.jupiter:junit-jupiter-api:5.11.0", | ||
"org.junit.platform:junit-platform-reporting:1.11.0", | ||
"org.junit.platform:junit-platform-launcher:1.11.0", | ||
"org.junit.jupiter:junit-jupiter-engine:5.11.0", | ||
], | ||
#fail_if_repin_required = True, | ||
#lock_file = "//:maven_install.json", # once this is uncommented the above artifacts list is ignored | ||
) | ||
use_repo(maven, "maven") |
15 changes: 15 additions & 0 deletions
15
intermediate/java/junit5Demo/de/vertexwahn/example/BUILD.bazel
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,15 @@ | ||
load("@contrib_rules_jvm//java:defs.bzl", "checkstyle_test", "java_junit5_test") | ||
load("@rules_jvm_external//:defs.bzl", "artifact") | ||
|
||
java_junit5_test( | ||
name = "example_test", | ||
srcs = ["ExampleTest.java"], | ||
runtime_deps = [ | ||
artifact("org.junit.jupiter:junit-jupiter-engine"), | ||
], | ||
deps = [ | ||
artifact("org.junit.jupiter:junit-jupiter-api"), | ||
artifact("org.junit.platform:junit-platform-launcher"), | ||
artifact("org.junit.platform:junit-platform-reporting"), | ||
], | ||
) |
8 changes: 8 additions & 0 deletions
8
intermediate/java/junit5Demo/de/vertexwahn/example/ExampleTest.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,8 @@ | ||
package de.vertexwahn.example; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class ExampleTest { | ||
@Test | ||
public void passes() {} | ||
} |