2022-06-30 20:51:01 +03:00
|
|
|
rootProject.name = "snark"
|
|
|
|
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
2023-03-27 10:23:27 +03:00
|
|
|
//enableFeaturePreview("VERSION_CATALOGS")
|
2022-06-30 20:51:01 +03:00
|
|
|
|
|
|
|
pluginManagement {
|
|
|
|
|
|
|
|
val toolsVersion: String by extra
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven("https://repo.kotlin.link")
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
2022-09-03 11:54:34 +03:00
|
|
|
id("space.kscience.gradle.project") version toolsVersion
|
|
|
|
id("space.kscience.gradle.mpp") version toolsVersion
|
|
|
|
id("space.kscience.gradle.jvm") version toolsVersion
|
|
|
|
id("space.kscience.gradle.js") version toolsVersion
|
2022-06-30 20:51:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
|
|
|
val toolsVersion: String by extra
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven("https://repo.kotlin.link")
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
versionCatalogs {
|
2023-03-13 16:24:50 +03:00
|
|
|
create("spclibs") {
|
2022-09-03 11:54:34 +03:00
|
|
|
from("space.kscience:version-catalog:$toolsVersion")
|
2022-06-30 20:51:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include(
|
|
|
|
":snark-gradle-plugin",
|
|
|
|
":snark-core",
|
|
|
|
":snark-html",
|
|
|
|
":snark-ktor"
|
|
|
|
)
|