The template of gradle (kotlin and java)
This is the template showing how to combine Java and Kotlin into gradle file.
buildscript
group 'com.godeep'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
sourceCompatibility = 1.9
mainClassName = 'Main'
sourceSets
repositories
dependencies
compileKotlin
compileTestKotlin