-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
43 lines (32 loc) · 909 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
plugins {
id("com.gradle.build-scan") version "1.16"
id("jmfayard.github.io.gradle-kotlin-dsl-libs") version "0.2.6" // $ ./gradlew syncLibs
id("kotlin2js") apply(false)
id("kotlin-dce-js") apply(false)
}
version '1.0-SNAPSHOT'
allprojects {
apply plugin: 'kotlin2js'
apply plugin: 'kotlin-dce-js'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compile Libs.kotlin_stdlib_js
compile Libs.webextensions_declarations
}
compileKotlin2Js {
kotlinOptions.sourceMap = true
kotlinOptions.sourceMapEmbedSources = "always"
}
}
buildScan {
setTermsOfServiceUrl("https://gradle.com/terms-of-service")
setTermsOfServiceAgree("yes")
publishAlways()
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
setGradleVersion(Versions.gradleCurrentVersion)
}