-
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.
* Feature: Micronaut Support This changeset adds basic initial support for Micronaut, with new rule macros which inject dependencies, and support for a basic testbed which works. Changes so far: - [x] Add Micronaut dependencies - [x] Add rule macros for Micronaut libs/apps/etc. - [x] Add a little testbed which executes controllers - [x] Add tests for Kotlin and Java - [x] Invoke Micronaut from a browser test - [x] From Java - [x] From Kotlin (this required a patch at bazelbuild/rules_webtesting#409) - [x] Ability to opt-out of Micronaut dependencies * Activate RBC locally and in CI * Spawn locally in CI * Use file-based service key in CI * Add Redis dependency and CI support * Add cache support back to CI * Remove github cache: remote caching is working * Update Skylib to latest * Add Stardoc dependency * Major build refactors, initial support for Starlark docs
- Loading branch information
Showing
36 changed files
with
3,135 additions
and
120 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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
path = vendor/google/protobuf | ||
url = [email protected]:protocolbuffers/protobuf.git | ||
shallow = true | ||
ignore = dirty | ||
[submodule "J2CL"] | ||
path = vendor/bazel/j2cl | ||
url = [email protected]:sgammon/j2cl.git | ||
|
@@ -12,3 +13,6 @@ | |
path = vendor/bazel/rules_graal | ||
url = [email protected]:sgammon/rules_graal.git | ||
branch = feature/ee | ||
[submodule "rules_webtesting"] | ||
path = vendor/bazel/rules_webtesting | ||
url = [email protected]:sgammon/rules_webtesting.git |
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 |
---|---|---|
|
@@ -13,3 +13,8 @@ alias( | |
actual = "//defs/toolchain:java", | ||
) | ||
|
||
alias( | ||
name = "docs", | ||
actual = "//defs:gust-docs", | ||
) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
package( | ||
default_visibility = ["//visibility:public"], | ||
) | ||
|
||
load( | ||
"@io_bazel_stardoc//stardoc:stardoc.bzl", | ||
"stardoc", | ||
) | ||
|
||
|
||
stardoc( | ||
name = "gust-docs", | ||
input = "docs.bzl", | ||
out = "docs.md", | ||
symbol_names = [ | ||
# Frontend: JS | ||
"js_test", | ||
"js_module", | ||
"js_app", | ||
|
||
# Backend: JDK (Java/Kotlin) | ||
"jdk_test", | ||
"jdk_library", | ||
"jdk_binary", | ||
|
||
# Backend: Micronaut | ||
"micronaut_test", | ||
"micronaut_library", | ||
"micronaut_application", | ||
|
||
# Tools: Protos | ||
"proto", | ||
"proto_module", | ||
], | ||
) |
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,27 @@ | ||
|
||
## -- Doc Targets | ||
|
||
load( | ||
"//defs/toolchain:frontend.bzl", | ||
"js_test", | ||
"js_module", | ||
"js_app", | ||
) | ||
|
||
load( | ||
"//defs/toolchain:backend.bzl", | ||
"jdk_test", | ||
"jdk_binary", | ||
"jdk_library", | ||
"micronaut_test", | ||
"micronaut_library", | ||
"micronaut_application", | ||
) | ||
|
||
load( | ||
"//defs:proto.bzl", | ||
"proto", | ||
"proto_module", | ||
) | ||
|
||
# Any symbol loaded here will be added to the docs. |
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 |
---|---|---|
|
@@ -89,4 +89,4 @@ def _module(name, **kwargs): | |
|
||
|
||
proto = _proto | ||
module = _module | ||
proto_module = _module |
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,22 @@ | ||
|
||
load( | ||
"//defs/toolchain/java:rules.bzl", | ||
_jdk_binary = "jdk_binary", | ||
_jdk_library = "jdk_library", | ||
_micronaut_library = "micronaut_library", | ||
_micronaut_application = "micronaut_application", | ||
) | ||
|
||
load( | ||
"//defs/toolchain/java:testing.bzl", | ||
_jdk_test = "jdk_test", | ||
_micronaut_test = "micronaut_test", | ||
) | ||
|
||
|
||
jdk_test = _jdk_test | ||
jdk_binary = _jdk_binary | ||
jdk_library = _jdk_library | ||
micronaut_test = _micronaut_test | ||
micronaut_library = _micronaut_library | ||
micronaut_application = _micronaut_application |
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
Oops, something went wrong.