Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- "org.jetbrains.kotlin:kotlin-runtime:1.2.71"
- }
- }
- plugins {
- id 'org.jetbrains.kotlin.jvm' version '1.3.72'
- id 'application'
- }
- apply plugin: 'idea'
- apply plugin: 'kotlin'
- group 'ru.myitclub'
- version '1.0-SNAPSHOT'
- mainClassName = 'ru.myitclub.Main'
- repositories {
- mavenCentral()
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- }
- compileKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- compileTestKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- jar{
- manifest{
- attributes 'Main-Class': mainClassName
- }
- from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement