2021-01-19 13:24:24 +03:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
2021-01-28 12:31:17 +03:00
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
2021-01-19 13:24:24 +03:00
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-dev")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dataforge")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/kscience")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
|
|
|
}
|
|
|
|
|
2021-01-28 12:31:17 +03:00
|
|
|
val toolsVersion = "0.7.3-1.4.30-RC"
|
|
|
|
val kotlinVersion = "1.4.30-RC"
|
2021-01-19 13:24:24 +03:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("ru.mipt.npm.project") version toolsVersion
|
|
|
|
id("ru.mipt.npm.mpp") version toolsVersion
|
|
|
|
id("ru.mipt.npm.jvm") version toolsVersion
|
|
|
|
id("ru.mipt.npm.js") version toolsVersion
|
|
|
|
id("ru.mipt.npm.publish") version toolsVersion
|
|
|
|
kotlin("jvm") version kotlinVersion
|
|
|
|
kotlin("js") version kotlinVersion
|
|
|
|
}
|
2021-01-28 12:31:17 +03:00
|
|
|
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
if (requested.id.id == "com.squareup.wire") {
|
|
|
|
// For some reason, Gradle does a lookup on the wrong coordinates:
|
|
|
|
// 'com.squareup.wire:com.squareup.wire.gradle.plugin' instead of the one below.
|
|
|
|
useModule("com.squareup.wire:wire-gradle-plugin:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-19 13:24:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
include("numass-data-model")
|
|
|
|
include("numass-data-proto")
|