-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
69 lines (54 loc) · 1.33 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
kotlin("multiplatform") version "1.9.0"
id("maven-publish")
}
group = "com.blackstone"
version = "0.3.5"
repositories {
mavenCentral()
google()
mavenLocal()
}
kotlin {
jvm()
js(IR) {
browser { binaries.executable() }
nodejs { binaries.executable() }
}
watchosSimulatorArm64()
watchos()
iosArm64()
iosX64()
iosSimulatorArm64()
sourceSets {
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3" )
}
}
val jvmMain by getting {
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
}
}
}
publishing {
// this fetches our credentials from ~/.gradle/gradle.properties
val mavenUser: String? by project
val mavenPassword: String? by project
repositories {
maven {
name = "reposiliteRepositoryReleases"
setUrl("https://repos.awhb.dev/releases")
authentication {
create("basic", BasicAuthentication::class.java)
}
credentials {
username = mavenUser
password = mavenPassword
}
}
}
}