2021-01-19 13:24:24 +03:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
2021-03-08 22:58:28 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
2021-01-19 13:24:24 +03:00
|
|
|
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")
|
|
|
|
}
|
|
|
|
|
2021-03-08 22:58:28 +03:00
|
|
|
val toolsVersion = "0.9.2"
|
|
|
|
val kotlinVersion = "1.4.31"
|
2021-01-19 13:24:24 +03:00
|
|
|
|
|
|
|
plugins {
|
2021-03-08 22:58:28 +03:00
|
|
|
id("ru.mipt.npm.gradle.project") version toolsVersion
|
|
|
|
id("ru.mipt.npm.gradle.mpp") version toolsVersion
|
|
|
|
id("ru.mipt.npm.gradle.jvm") version toolsVersion
|
|
|
|
id("ru.mipt.npm.gradle.js") version toolsVersion
|
|
|
|
id("ru.mipt.npm.gradle.publish") version toolsVersion
|
2021-01-19 13:24:24 +03:00
|
|
|
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")
|
2021-01-29 19:23:16 +03:00
|
|
|
include("numass-workspace")
|