-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
41 lines (38 loc) · 1.69 KB
/
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
buildscript {
ext.kotlin_version = '2.0.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.4.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url 'https://artifactory.mxtracks.info/artifactory/gradle-dev-local/'
// def artifactoryPW = project.hasProperty("artifactory_password") ? artifactory_password : System.getenv("ARTIFACTORY_USER_PASSWORD")
// if (artifactoryPW == null) {
// out.style(Style.Normal).text("Artifactory has no password eiter you add in gradle.properties ")
// .style(Style.Failure).text(" artifactory_password=<your secret>")
// out.style(Style.Normal).text(" or specify an envirionment variable ")
// .style(Style.Failure).text("export ARTIFACTORY_USER_PASSWORD=<your secret>")
// } else
// out.style(Style.Normal).text("Artifactory password >${artifactoryPW.take(1)}..<")
//
// credentials {
// username = project.hasProperty("artifactory_user") ? project.artifactory_user : System.getenv("ARTIFACTORY_USER_NAME")
// password = artifactoryPW
// }
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}