33 lines
779 B
Groovy
33 lines
779 B
Groovy
|
/*
|
||
|
* This build file was generated by the Gradle 'init' task.
|
||
|
*
|
||
|
* This generated file contains a sample Java project to get you started.
|
||
|
* For more details take a look at the Java Quickstart chapter in the Gradle
|
||
|
* user guide available at https://docs.gradle.org/3.5/userguide/tutorial_java_projects.html
|
||
|
*/
|
||
|
|
||
|
// Apply the java plugin to add support for Kotlin
|
||
|
apply plugin: 'kotlin'
|
||
|
|
||
|
apply plugin: 'application'
|
||
|
|
||
|
buildscript {
|
||
|
ext.kotlin_version = '1.1.3'
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
|
testCompile 'junit:junit:4.12'
|
||
|
}
|
||
|
|
||
|
mainClassName = "Main"
|