First preview of 0.3.0
This commit is contained in:
parent
d21d6ebb2a
commit
ea7869e39d
@ -1,4 +1,3 @@
|
|||||||
import space.kscience.gradle.isInDevelopment
|
|
||||||
import space.kscience.gradle.useApache2Licence
|
import space.kscience.gradle.useApache2Licence
|
||||||
import space.kscience.gradle.useSPCTeam
|
import space.kscience.gradle.useSPCTeam
|
||||||
|
|
||||||
@ -24,15 +23,8 @@ ksciencePublish {
|
|||||||
useApache2Licence()
|
useApache2Licence()
|
||||||
useSPCTeam()
|
useSPCTeam()
|
||||||
}
|
}
|
||||||
github("SciProgCentre", "maps-kt")
|
repository("spc","https://maven.sciprog.center/kscience")
|
||||||
space(
|
sonatype("https://oss.sonatype.org")
|
||||||
if (isInDevelopment) {
|
|
||||||
"https://maven.pkg.jetbrains.space/spc/p/sci/dev"
|
|
||||||
} else {
|
|
||||||
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
|
|
||||||
}
|
|
||||||
)
|
|
||||||
sonatype()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
@ -47,4 +39,3 @@ subprojects {
|
|||||||
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
|
||||||
compose.version=1.5.2
|
compose.version=1.5.10
|
||||||
org.jetbrains.compose.experimental.jscanvas.enabled=true
|
org.jetbrains.compose.experimental.jscanvas.enabled=true
|
||||||
|
|
||||||
agp.version=8.1.0
|
agp.version=8.1.0
|
||||||
@ -9,4 +9,4 @@ android.enableJetifier=true
|
|||||||
|
|
||||||
org.gradle.jvmargs=-Xmx4096m
|
org.gradle.jvmargs=-Xmx4096m
|
||||||
|
|
||||||
toolsVersion=0.14.9-kotlin-1.9.0
|
toolsVersion=0.15.0-kotlin-1.9.20
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@ -55,3 +55,7 @@ readme {
|
|||||||
id = "osm",
|
id = "osm",
|
||||||
) { "OpenStreetMap tile provider." }
|
) { "OpenStreetMap tile provider." }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//tasks.getByName<Copy>("downloadWix"){
|
||||||
|
// duplicatesStrategy = DuplicatesStrategy.WARN
|
||||||
|
//}
|
||||||
|
31
maps-kt-leaflet/build.gradle.kts
Normal file
31
maps-kt-leaflet/build.gradle.kts
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
plugins {
|
||||||
|
id("space.kscience.gradle.mpp")
|
||||||
|
id("org.jetbrains.compose")
|
||||||
|
`maven-publish`
|
||||||
|
}
|
||||||
|
|
||||||
|
kscience{
|
||||||
|
js {
|
||||||
|
binaries.executable()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
sourceSets {
|
||||||
|
val jsMain by getting {
|
||||||
|
dependencies {
|
||||||
|
implementation(projects.mapsKtCompose)
|
||||||
|
implementation(compose.runtime)
|
||||||
|
implementation(compose.html.core)
|
||||||
|
implementation(npm("@types/leaflet", "1.9.6"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
compose {
|
||||||
|
experimental.web{
|
||||||
|
application{}
|
||||||
|
}
|
||||||
|
// web{}
|
||||||
|
}
|
7
maps-kt-leaflet/src/jsMain/kotlin/main.kt
Normal file
7
maps-kt-leaflet/src/jsMain/kotlin/main.kt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import org.jetbrains.skiko.wasm.onWasmReady
|
||||||
|
|
||||||
|
fun main() {
|
||||||
|
onWasmReady {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -56,6 +56,7 @@ include(
|
|||||||
":maps-kt-features",
|
":maps-kt-features",
|
||||||
":maps-kt-compose",
|
":maps-kt-compose",
|
||||||
":maps-kt-scheme",
|
":maps-kt-scheme",
|
||||||
|
// ":maps-kt-leaflet",
|
||||||
":demo:maps",
|
":demo:maps",
|
||||||
":demo:scheme",
|
":demo:scheme",
|
||||||
":demo:polygon-editor",
|
":demo:polygon-editor",
|
||||||
|
Loading…
Reference in New Issue
Block a user