给出一个多模块build.sbt
:
ThisBuild / organization := "com.mycompany"
ThisBuild / version := "1.0.0"
ThisBuild / scalaVersion := "2.12.7"
// more global settings
ThisBuild
范围在每一行上重复。有没有办法做到以下几点?
ThisBuild {
organization := "com.mycompany"
version := "1.0.0"
scalaVersion := "2.12.7"
}
答案 0 :(得分:1)
可能最接近的是:
Coordinates