Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Convert the build using sbt #35

Closed
sinwe opened this issue Sep 29, 2019 · 1 comment · Fixed by #53
Closed

Convert the build using sbt #35

sinwe opened this issue Sep 29, 2019 · 1 comment · Fixed by #53

Comments

@sinwe
Copy link
Contributor

sinwe commented Sep 29, 2019

Motivation

2 Motivations:

  1. SBT is the native scala build for any scala project. It is more natural to build using SBT. It is also easier to do cross-compile build
  2. Scaladoc 2.13 broke gradle scala plugin and with scaladoc, a library is unable to be published into maven central repository. (Target Scala release 2.13 #27)(Scala plugin's scaladoc task broken with Scala 2.13.0 gradle/gradle#9855)

Desired solution

Considered alternatives

  1. Wait for either Gradle or Lightbend to fix the broken scaladoc.

Additional context

sinwe added a commit that referenced this issue Apr 12, 2020
This is capable to:
- Cross compile build across 2.11, 2.12, 2.13
- Publish to Sonatype snapshot with signed files

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
sinwe added a commit that referenced this issue Apr 12, 2020
Only run coverage on scala 2.12

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
Only run test for specific scala version

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
Run coverage only for specific version

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
Explicitly specify scala version

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
Drop scala 2.11

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 12, 2020
Add oraclejdk8 and scala 2.11 into matrix

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Removed oraclejdk8
Disabled coverage by default
Travis: only enable coverage on scala 2.12

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Deploy on sbt_build branch

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Clean before publish for deployment

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Clean before publish for deployment

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Never publish to sonatype for running in travis

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Fixing deployment of code coverage

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Fixing deployment of code coverage

Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Signed-off-by: Winarto Zhao <winarto@gmail.com>
sinwe added a commit that referenced this issue Apr 13, 2020
Set version back to 0.6.1-SNAPSHOT

Signed-off-by: Winarto Zhao <winarto@gmail.com>
@sinwe
Copy link
Contributor Author

sinwe commented May 3, 2020

Released with v0.6.1

@sinwe sinwe closed this as completed May 3, 2020
@sinwe sinwe linked a pull request May 3, 2020 that will close this issue
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Development

Successfully merging a pull request may close this issue.

1 participant