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

Bump to scala 2.11.12 by default #5804

Merged
merged 1 commit into from May 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/src/scala/org/pantsbuild/example/README.md
Expand Up @@ -135,7 +135,7 @@ Enabling `scalafix` semantic rewrites involves using a compiler plugin, and pass
In a `BUILD` file at the root of the repo, define the `semanticdb` compiler plugin:

:::python
SCALA_REV=2.11.11
SCALA_REV=2.11.12
jar_library(
name = 'scalac-plugin-dep',
jars = [jar(org='org.scalameta', name='semanticdb-scalac_{}'.format(SCALA_REV), rev='2.0.1')],
Expand Down
4 changes: 4 additions & 0 deletions pants.ini
Expand Up @@ -189,6 +189,10 @@ args: [
'-C-encoding', '-CUTF-8',
'-S-encoding', '-SUTF-8',
'-S-g:vars',
# Compiling the zinc codebase with `2.11.12` requires that scala target `JDK8`:
# this setting is a function of the fact that the libraries we're consuming require it,
# rather than anything inherent to `2.11.12`.
'-S-target:jvm-1.8',
]
warning_args: [
'-S-deprecation',
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/jvm/subsystems/scala_platform.py
Expand Up @@ -24,7 +24,7 @@
# runtime library (when compiling plugins, which require the compiler library as a dependency).
scala_build_info = {
'2.10': major_version_info(full_version='2.10.6'),
'2.11': major_version_info(full_version='2.11.11'),
'2.11': major_version_info(full_version='2.11.12'),
'2.12': major_version_info(full_version='2.12.4'),
}

Expand Down
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.11</version>
<version>2.11.12</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.11</version>
<version>2.11.12</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.11</version>
<version>2.11.12</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.11</version>
<version>2.11.12</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down