build.gradle
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.21'
ext.coroutines_version = '1.4.1'
ext.atomicfu_version = '0.14.4'
ext.dokka_version = '1.4.20'
ext.orchid_version = '0.18.0'
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicfu_version"
classpath 'com.android.tools.build:gradle:3.6.1'
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.4.1"
}
}
allprojects {
version "0.1.0"
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
subprojects {
tasks.withType(Jar) {
archivesBaseName = "kwasm-$project.name"
}
}