Skip to content

Commit

Permalink
Update to kotlin v1.1.4-3 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj authored Sep 7, 2017
1 parent 9229a41 commit d1a29da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<table><tr>
<td><img src="https://github.com/pubref/rules_protobuf/blob/master/images/bazel.png" width="120"/></td>
<td><img src="https://bazel.build/images/bazel-icon.svg" width="120"/></td>
<td><img src="https://kotlinlang.org/assets/images/open-graph/kotlin_250x250.png" width="120"/></td>
</tr><tr>
<td>Bazel</td>
Expand Down Expand Up @@ -27,7 +27,7 @@ Add the following to your `WORKSPACE` file:
git_repository(
name = "org_pubref_rules_kotlin",
remote = "https://github.com/pubref/rules_kotlin.git",
tag = "v0.3.1", # update as needed
tag = "v0.4.0", # update as needed
)

load("@org_pubref_rules_kotlin//kotlin:rules.bzl", "kotlin_repositories")
Expand All @@ -37,11 +37,11 @@ kotlin_repositories()

This will fetch a
[kotlin release](https://github.com/JetBrains/kotlin/releases)
(currently 1.1.2-2) and load a number of dependencies related to
(currently 1.1.4-3) and load a number of dependencies related to
dagger (used to build the `KotlinCompiler` bazel worker).

> You can override kotlin release via the `com_github_jetbrains_kotlin_url`, `com_github_jetbrains_kotlin_sha256` options
> and various dependencies loaded in the `kotlin_repositories` rule via the `omit_*` options;
> and various dependencies loaded in the `kotlin_repositories` rule via the `omit_*` options;
> see the source file for details.
## BUILD rules
Expand Down Expand Up @@ -213,8 +213,8 @@ $ bazel test examples/helloworld:main_kt_test

1. Proper `data` and runfiles support.
2. Proper android support.
4. kapt support.
3. Incremental compilation.
3. kapt support.
4. Incremental compilation.

[bazel]: http://www.bazel.io
[kotlin]: http://www.kotlinlang.org
4 changes: 2 additions & 2 deletions kotlin/kotlin_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ exports_files(["src"])


def kotlin_repositories(
com_github_jetbrains_kotlin_url = "https://github.com/JetBrains/kotlin/releases/download/v1.1.2-2/kotlin-compiler-1.1.2-2.zip",
com_github_jetbrains_kotlin_sha256 = "57e18528f665675206e88cdc0bd42d1550b10f2508e08035270974d7abec3f2f",
com_github_jetbrains_kotlin_url = "https://github.com/JetBrains/kotlin/releases/download/v1.1.4-3/kotlin-compiler-1.1.4-3.zip",
com_github_jetbrains_kotlin_sha256 = "f4ceab8a21ad26a25712a1499999a726cea918be7bec022937f9ae5ca0c943ea",
omit_com_github_jetbrains_kotlin = False,
#omit_com_google_protobuf = False,
#omit_com_google_protobuf_java = False,
Expand Down

0 comments on commit d1a29da

Please sign in to comment.