25 lines
960 B
Kotlin
Raw Normal View History

2019-07-24 15:03:12 +03:00
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")
2019-12-01 19:59:29 +03:00
useExperimentalAnnotation("kotlin.Experimental")
2019-09-12 09:42:08 +03:00
useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
useExperimentalAnnotation("kotlin.time.ExperimentalTime")
2019-07-24 15:03:12 +03:00
}
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")
2019-10-03 15:27:28 +03:00
maven("https://kotlin.bintray.com/kotlin-js-wrappers/")
2019-10-04 17:50:48 +03:00
maven("https://dl.bintray.com/mipt-npm/dataforge")
2019-07-24 15:03:12 +03:00
}