Skip to content

Commit

Permalink
PLATUI-1736: Add adr with decision not to allow scala cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-bowden committed May 19, 2022
1 parent 0ef85c1 commit 3c06403
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/maintainers/adr/0001-scala-cross-compilation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# play-ui scala 2.13 cross compilation

* Status: accepted
* Date: 2022-05-19

## Context and Problem Statement

The need to allow scala cross compilation for scala version 2.13

## Decision Drivers

* as new scala versions are released we are in the process of allowing cross compilation between these new scala versions,
for all our libraries and services so when service teams that use our libraries/services update their scala versions our libraries/services will support it.

## Considered Options

* Do not allow scala cross compilation for scala version 2.13
* Add scala cross compilation for scala version 2.13

## Decision Outcome

Chosen option "Do not allow scala cross compilation" because play-ui is a deprecated library, and we do not actively support development for it anymore.

### Positive Consequences

* As adding scala cross compilation for version 2.13 would be implicitly supporting this deprecated library, we would not want to give service teams that are still using this library the wrong impression that we are still actively supporting it.
* By adding scala cross compilation for version 2.13, we could be creating more work for ourselves as there could be issues when service teams still actively using this library upgrade there scala version to 2.13. We would end up supporting those queries which we shouldn't do as we do not actively support this deprecated library anymore.

### Negative Consequences

* As there are service teams that are actively using this library and cannot for some reason move away from using this library, there might be a time when we would need to support scala version 2.13 for those service teams.

0 comments on commit 3c06403

Please sign in to comment.