-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
47 lines (41 loc) · 1.54 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
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
val localProperties = gradleLocalProperties(rootDir)
val gitHubUser = (extra["githubUser"] ?: System.getenv("GITHUB_USER"))?.toString()
val gitHubToken = (extra["githubToken"] ?: System.getenv("GITHUB_TOKEN"))?.toString()
allprojects {
group = Pelorus.group
version = Pelorus.version
repositories {
mavenLocal()
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://jitpack.io")
if (gitHubUser is String && gitHubToken is String) {
maven {
url = uri("https://maven.pkg.github.com/thennothinghappened/kotlass")
credentials {
username = gitHubUser
password = gitHubToken
}
}
maven {
url = uri("https://maven.pkg.github.com/Qawaz/compose-datetime")
credentials {
username = gitHubUser
password = gitHubToken
}
}
}
}
}
plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.kotlin.compose) apply false
}