summaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-05-23 18:06:48 +0200
committerjbion <joffrey.bion@amadeus.com>2019-07-28 18:15:34 +0200
commit362c1060bd99186a1d372fa89a6b7a470f387d34 (patch)
tree6ccd72246199cc700d279be26363c9c712a0e05e /settings.gradle
parentAdd SW static files to src/main/web (Kotlin build) (diff)
downloadseven-wonders-362c1060bd99186a1d372fa89a6b7a470f387d34.tar.gz
seven-wonders-362c1060bd99186a1d372fa89a6b7a470f387d34.tar.bz2
seven-wonders-362c1060bd99186a1d372fa89a6b7a470f387d34.zip
Attempt at Kotlin frontend plugin
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle12
1 files changed, 11 insertions, 1 deletions
diff --git a/settings.gradle b/settings.gradle
index 11887e42..49dfe419 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,9 +1,18 @@
pluginManagement {
+// repositories {
+// gradlePluginPortal()
+// jcenter()
+// // this one is for kotlin-frontend-plugin
+// maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
+// }
resolutionStrategy {
eachPlugin {
- if (requested.id.id == "kotlin-multiplatform") {
+ if (requested.id.id == "kotlin-multiplatform" || requested.id.id == "kotlin2js") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
}
+// if (requested.id.id == "org.jetbrains.kotlin.frontend") {
+// useModule("org.jetbrains.kotlin:kotlin-frontend-plugin:${requested.version}")
+// }
}
}
}
@@ -15,5 +24,6 @@ include 'sw-engine'
include 'sw-server'
include 'sw-client'
include 'sw-ui'
+include 'sw-ui-kt'
enableFeaturePreview("GRADLE_METADATA")
bgstack15