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 4 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 { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()

2
web/integration/build.gradle

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

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

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

7
web/settings.gradle

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

Loading…
Cancel
Save