20 lines
667 B
Kotlin
20 lines
667 B
Kotlin
|
package scientifik
|
||
|
|
||
|
import org.gradle.api.artifacts.dsl.RepositoryHandler
|
||
|
import org.gradle.kotlin.dsl.maven
|
||
|
import org.jetbrains.kotlin.gradle.plugin.LanguageSettingsBuilder
|
||
|
|
||
|
internal fun LanguageSettingsBuilder.applySettings(): Unit {
|
||
|
progressiveMode = true
|
||
|
enableLanguageFeature("InlineClasses")
|
||
|
useExperimentalAnnotation("kotlin.ExperimentalUnsignedType")
|
||
|
}
|
||
|
|
||
|
internal fun RepositoryHandler.applyRepos(): Unit{
|
||
|
mavenCentral()
|
||
|
jcenter()
|
||
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||
|
maven("https://kotlin.bintray.com/kotlinx")
|
||
|
maven("https://dl.bintray.com/mipt-npm/scientifik")
|
||
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
||
|
}
|