-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
42 lines (36 loc) · 971 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
import com.ouroboros.Libs
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath Libs.androidGradlePlugin
classpath Libs.Kotlin.gradlePlugin
}
}
plugins {
id 'com.palantir.git-version' version '3.0.0'
}
allprojects {
group = "com.bridge.ouroboros.compose"
version gitVersion()
}
subprojects {
apply plugin: 'maven-publish'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri(project.findProperty("gpr.repository") ?: System.getenv("PACKAGES_REPOSITORY") ?: "")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("PACKAGES_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("PACKAGES_TOKEN")
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}