Browse Source

Rename core and integration to web-core and web-integration

Also: share logic only between subprojects and make maven publication a default option
pull/685/head
Shagen Ogandzhanian 3 years ago
parent
commit
6b9a7c4989
  1. 4
      web/build.gradle
  2. 2
      web/integration/build.gradle
  3. 2
      web/integration/src/jsMain/resources/index.html
  4. 7
      web/settings.gradle

4
web/build.gradle

@ -4,7 +4,9 @@ plugins {
}
allprojects {
subprojects {
apply plugin: "maven-publish"
repositories {
gradlePluginPortal()
mavenCentral()

2
web/integration/build.gradle

@ -35,7 +35,7 @@ kotlin {
commonMain {
dependencies {
implementation(compose.runtime)
implementation(project(":core"))
implementation(project(":web-core"))
implementation(kotlin("stdlib-common"))
}
}

2
web/integration/src/jsMain/resources/index.html

@ -7,5 +7,5 @@
</head>
<body>
</body>
<script src="integration.js"></script>
<script src="web-integration.js"></script>
</html>

7
web/settings.gradle

@ -11,5 +11,8 @@ pluginManagement {
}
}
include "core"
include "integration"
include "web-core"
include "web-integration"
project(":web-core").projectDir = file("$rootDir/core")
project(":web-integration").projectDir = file("$rootDir/integration")

Loading…
Cancel
Save