diff options
author | Torsten Grote <t@grobox.de> | 2020-05-29 15:53:25 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-06-01 11:08:27 -0300 |
commit | b8b5c986cdd3f50ea4f6e5441e8d8cc41c06ef60 (patch) | |
tree | 7bed388b3332b923fabb2827dedba8dc3ea42f6d /build.gradle | |
download | wallet-kotlin-b8b5c986cdd3f50ea4f6e5441e8d8cc41c06ef60.tar.gz wallet-kotlin-b8b5c986cdd3f50ea4f6e5441e8d8cc41c06ef60.tar.bz2 wallet-kotlin-b8b5c986cdd3f50ea4f6e5441e8d8cc41c06ef60.zip |
Initial commit
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..d9f4cb0 --- /dev/null +++ b/build.gradle @@ -0,0 +1,63 @@ +plugins { + id 'org.jetbrains.kotlin.multiplatform' version '1.3.72' +} +repositories { + mavenCentral() +} +group 'net.taler' +version '0.0.1' + +apply plugin: 'maven-publish' + +kotlin { + jvm() + js { + browser { + } + nodejs { + } + } + // For ARM, should be changed to iosArm32 or iosArm64 + // For Linux, should be changed to e.g. linuxX64 + // For MacOS, should be changed to e.g. macosX64 + // For Windows, should be changed to e.g. mingwX64 + linuxX64("linux") + 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') + } + } + linuxMain { + } + linuxTest { + } + } +} |