buildscript { ext { kotlinVersion = '1.3.10' } repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } apply { plugin 'kotlin' plugin 'eclipse' plugin 'idea' } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion" }