Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Kotlin Support #409

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

sgammon
Copy link
Contributor

@sgammon sgammon commented Jan 28, 2020

This changeset adds support for running tests written in Kotlin, via the same mechanism used to run Scala tests. The README is also updated with a test sample, and there is a unit test alongside WebTestTest.java, but written in Kotlin.

This changeset adds support for running tests written in Kotlin,
via the same mechanism used to run Scala tests. The README is
also updated with a test sample, and there is a unit test alongside
`WebTestTest.java`, but written in Kotlin.
This PR fixes and closes bazelbuild#407, wherein, the build breaks because it
references a `rules_scala` version that accesses Maven Central via
HTTP. After late Jan 2020, HTTP is no longer allowed on Maven Central,
so it produces a build error for anyone who doesn't have the artifact
cached already.

The only change is upgrading `rules_scala` to the latest `HEAD`,
which at this time is bazelbuild/rules_scala@d2e7e3b.
@sgammon
Copy link
Contributor Author

sgammon commented Jan 28, 2020

fyi this had to include #408 (Scala HTTP fix) to pass CI.

the other errors seem to be either transient, or related to Kotlin not supporting Windows for Bazel yet?

sgammon added a commit to sgammon/elide-archive that referenced this pull request Jan 28, 2020
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
sgammon added a commit to sgammon/elide-archive that referenced this pull request Jan 28, 2020
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
sgammon added a commit to sgammon/elide-archive that referenced this pull request Jan 28, 2020
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
sgammon added a commit to sgammon/elide-archive that referenced this pull request Jan 28, 2020
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants