Skip to content

Commit

Permalink
Обновление kotlin до 1.3.41
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislenko Maksim committed Jul 25, 2019
1 parent b030446 commit 3678ca4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 3 additions & 2 deletions paperio/dockers/kotlin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM stor.highloadcup.ru/aicups/paperio_base
FROM stest.tech-mail.ru/aicups/paperio_base
MAINTAINER Evgeniy Zuykin <[email protected]>

RUN apt-get update -y && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:cwchien/gradle && \
apt-get update -y && \
apt-get install -y openjdk-8-jdk gradle-3.5.1 && \
apt-get install -y openjdk-8-jdk gradle-5.5.1 && \
rm -rf /var/lib/apt/lists/*

ENV SOLUTION_CODE_ENTRYPOINT=Main.kt
Expand Down
11 changes: 8 additions & 3 deletions paperio/dockers/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0'
}
}

Expand All @@ -24,8 +24,9 @@ repositories {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'org.json:json:20180130'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.json:json:20180813'
}

sourceSets {
Expand All @@ -44,4 +45,8 @@ build.dependsOn shadowJar

compileKotlin {
kotlinOptions.jvmTarget = "1.8"

dependencies {
compile "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:$kotlin_version"
}
}

0 comments on commit 3678ca4

Please sign in to comment.