plugins {
    id 'play'
    id 'idea'
}

// tag::play-platform-2.6[]
model {
    components {
        play {
            platform play: '2.6.7', scala: '2.12', java: '1.8'
            injectedRoutesGenerator = true
        }
    }
}
// end::play-platform-2.6[]

// tag::play-dependencies-2.6[]
dependencies {
    play "com.typesafe.play:play-guice_2.12:2.6.7"
}
// end::play-dependencies-2.6[]

repositories {
    jcenter()
    maven {
        name "lightbend-maven-releases"
        url "https://repo.lightbend.com/lightbend/maven-release"
    }
    ivy {
        name "lightbend-ivy-release"
        url "https://repo.lightbend.com/lightbend/ivy-releases"
        layout "ivy"
    }
}
