diff options
Diffstat (limited to 'sw-common-model/build.gradle')
-rw-r--r-- | sw-common-model/build.gradle | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sw-common-model/build.gradle b/sw-common-model/build.gradle new file mode 100644 index 00000000..b8bdb97b --- /dev/null +++ b/sw-common-model/build.gradle @@ -0,0 +1,42 @@ +plugins { + id 'kotlin-multiplatform' +} + +kotlin { + jvm() + js() + sourceSets { + commonMain { + dependencies { + implementation kotlin('stdlib-common') + } + } + commonTest { + dependencies { + implementation kotlin('test-common') + implementation kotlin('test-annotations-common') + } + } + jvmMain { + dependencies { + implementation kotlin('stdlib-jdk8') + } + } + jvmTest { + dependencies { + implementation kotlin('test') + implementation kotlin('test-junit') + } + } + jsMain { + dependencies { + implementation kotlin('stdlib-js') + } + } + jsTest { + dependencies { + implementation kotlin('test-js') + } + } + } +} |