-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
39 lines (32 loc) · 982 Bytes
/
build.gradle.kts
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
allprojects {
group = "app.obyte.client.samples"
version = "0.0.1"
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
name = "ObyteKt"
url = uri("https://maven.pkg.github.com/pmiklos/obytekt")
credentials {
username = project.findProperty("gpr.user")?.toString() ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key")?.toString() ?: System.getenv("TOKEN")
}
}
}
}
tasks.register("gh-pages", Copy::class) {
dependsOn("assemble")
mkdir("$buildDir/gh-pages")
destinationDir = file("$buildDir/gh-pages")
from(file("pages"))
into("simple") {
from(project("js:simple").file("build/distributions"))
}
into("wallet") {
from(project("js:wallet").file("build/distributions"))
}
into("giftcard") {
from(project("js:giftcard").file("build/distributions"))
}
}