You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
307 B
11 lines
307 B
if (!hasProperty('scalaVersion')) { |
|
ext.scalaVersion = '2.10.1' |
|
} |
|
ext.defaultScalaVersion = '2.10.1' |
|
if (scalaVersion.startsWith('2.10')) { |
|
ext.baseScalaVersion = '2.10' |
|
} else if (scalaVersion.startsWith('2.11')) { |
|
ext.baseScalaVersion = '2.11' |
|
} else { |
|
ext.baseScalaVersion = scalaVersion |
|
}
|
|
|