Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'java'
- id 'org.jetbrains.intellij' version '0.4.21'
- id 'org.jetbrains.kotlin.multiplatform' version '1.3.72'
- id 'war'
- id 'org.jetbrains.kotlin.jvm' version '1.3.72'
- id 'org.jetbrains.kotlin.js' version '1.3.72'
- }
- group 'org.example'
- version '1.0-SNAPSHOT'
- sourceCompatibility = 1.8
- repositories {
- jcenter()
- maven { url "https://dl.bintray.com/kotlin/ktor" }
- mavenCentral()
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
- testCompile group: 'junit', name: 'junit', version: '4.11'
- testCompile group: 'junit', name: 'junit', version: '4.12'
- testImplementation "org.jetbrains.kotlin:kotlin-test-js"
- }
- // See https://github.com/JetBrains/gradle-intellij-plugin/
- intellij {
- version '2019.3.2'
- }
- compileKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- compileTestKotlin {
- kotlinOptions.jvmTarget = "1.8"
- }
- kotlin {
- /* Targets configuration omitted.
- * To find out how to configure the targets, please follow the link:
- * https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets */
- sourceSets {
- commonMain {
- dependencies {
- implementation kotlin('stdlib-common')
- }
- }
- commonTest {
- dependencies {
- implementation kotlin('test-common')
- implementation kotlin('test-annotations-common')
- }
- }
- }
- }
- kotlin.target.browser { }
- patchPluginXml {
- changeNotes """
- Add change notes here.<br>
- <em>most HTML tags may be used</em>"""
- }
Add Comment
Please, Sign In to add comment