-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (29 loc) · 882 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
allprojects {
apply plugin: 'maven'
group = 'eu.ttbox.android.geoping'
version = '0.3.2'
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://raw.github.com/gabuzomeu/maven-repo/master/third-parties/"
}
}
dependencies {
// mavenScp 'org.apache.maven.wagon:wagon-scp:1.0-beta-2'
}
def isDevBuild = true
//https://github.com/mircea-pop/git-maven-repo/blob/master/gradle/git.gradle
uploadArchives {
repositories {
if (isDevBuild) {
mavenLocal()
}else {
mavenDeployer() {
repository(url: 'file:${project.buildDir}/../maven-repo/releases')
}
}
}
}
}