aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-06-15 15:36:47 +0200
committerJakob Odersky <jakob@odersky.com>2019-06-15 17:10:12 +0200
commit0be325d533af3c5d4f9af70bce495da6047f6c3a (patch)
tree9257057a8553285daaeb24130c37c29965f96e4d /README.md
parent7807a34943927fd94b51d15d9452af88330d3e99 (diff)
downloadsbt-jni-0be325d533af3c5d4f9af70bce495da6047f6c3a.tar.gz
sbt-jni-0be325d533af3c5d4f9af70bce495da6047f6c3a.tar.bz2
sbt-jni-0be325d533af3c5d4f9af70bce495da6047f6c3a.zip
Add support for Scala 2.13 and drop support for 2.10
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9b07d72..4556ff3 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
| sbt version | plugin version |
|-------------|----------------|
| 0.13.x | [![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg?version=1.2.6)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/1.2.6/link) |
-| 1.0.x | [![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/_latestVersion) |
+| 1.x | [![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/_latestVersion) |
# sbt-jni
@@ -100,7 +100,7 @@ object Main extends App {
}
```
-Note: this plugin is just a shorthand for adding `sbt-jni-macros` (the project in `macros/`) and the scala-macros-paradise projects as provided dependencies.
+Note: this plugin is just a shorthand for adding `sbt-jni-macros` (the project in `macros/`) and the scala-macros-paradise (on Scala <= 2.13) projects as provided dependencies.
See the [annotation's implementation](macros/src/main/scala/ch/jodersky/jni/annotations.scala) for details about the injected code.
@@ -182,7 +182,7 @@ Real-world use-cases of sbt-jni include:
## Requirements and Dependencies
-- projects using `JniLoad` must use Scala versions 2.10, 2.11 or 2.12
+- projects using `JniLoad` must use Scala versions 2.11, 2.12 or 2.13
- only POSIX platforms are supported (actually, any platform that has the `uname` command available)
The goal of sbt-jni is to be the least intrusive possible. No transitive dependencies are added to projects using any plugin (some dependencies are added to the `provided` configuration, however these do not affect any downstream projects).
@@ -190,7 +190,7 @@ The goal of sbt-jni is to be the least intrusive possible. No transitive depende
## Building
Both the macro library (`sbt-jni-macros`) and the sbt plugins (`sbt-jni`) are published. Cross-building happens on a per-project basis:
-- sbt-jni-macros is built against Scala 2.10, 2.11 and 2.12
+- sbt-jni-macros is built against Scala 2.11, 2.12 and 2.13
- sbt-jni is built against Scala 2.12 (the Scala version that sbt 1.x uses)
The differing Scala versions make it necessary to always cross-compile and cross-publish this project, i.e. append a "+" before every task.