Skip to content

Commit

Permalink
Get rid of JCenter and other obsolete dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ileasile committed Apr 16, 2021
1 parent 8b3dc8e commit 28e3f63
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ plugins {
id "ru.ileasile.kotlin.publisher" version "$libsPublisherVersion"
}

apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: "org.jetbrains.kotlin.jupyter.api"

// not neeeded but does not work without
mainClassName = "foo.Bar" // not needed but does not work without

repositories {
mavenCentral()
jcenter()
maven { url 'https://kotlin.bintray.com/kotlin-datascience' }
maven { url "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven" }

def repoFolder = new File(projectDir as File, jupyterApiTCRepo as String)
if(repoFolder.exists()) {
Expand All @@ -43,15 +37,14 @@ configurations {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib"
compile "org.jetbrains.kotlin:kotlin-reflect"
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "org.jetbrains.kotlin:kotlin-reflect"

compile "org.apache.commons:commons-csv:1.3"
compile 'com.beust:klaxon:5.2'
implementation "org.apache.commons:commons-csv:1.3"
implementation "com.beust:klaxon:5.5"

testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'io.kotlintest:kotlintest-assertions:3.1.6'
testCompile 'de.mpicbg.scicomp:kutils:0.11'
testImplementation "junit:junit:4.12"
testImplementation "io.kotlintest:kotlintest-assertions:3.1.6"

// needed to work around https://youtrack.jetbrains.com/issue/KT-15064
compileOnly "org.jetbrains.kotlin:kotlin-script-runtime:$kotlin_version"
Expand Down Expand Up @@ -127,8 +120,9 @@ kotlinPublications {
packageName = artifactId
}
}

compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xinline-classes"]
}
}
}

0 comments on commit 28e3f63

Please sign in to comment.