use of org.gradle.play.internal.platform.PlayMajorVersion in project gradle by gradle.
the class PlayPlatformResolver method resolve.
private PlayPlatform resolve(String name, String playVersion, String scalaVersion, String javaVersion) {
PlayMajorVersion playMajorVersion = PlayMajorVersion.forPlayVersion(playVersion);
JavaPlatform javaPlatform = getJavaPlatform(javaVersion);
ScalaPlatform scalaPlatform = getScalaPlatform(playMajorVersion, scalaVersion);
return new DefaultPlayPlatform(name, playVersion, scalaPlatform, javaPlatform);
}
Aggregations