Fix lib script
This commit is contained in:
parent
39996723dc
commit
de58ff5f4b
1 changed files with 11 additions and 2 deletions
|
@ -17,6 +17,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
tasks.lint.enabled = false
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,17 +340,25 @@ task appStart(type: Exec) {
|
||||||
// commandLine 'cmd', '/c', 'adb', 'shell', 'am', 'start', '-n', 'net.osmand.plus/net.osmand.plus.activities.MapActivity'
|
// commandLine 'cmd', '/c', 'adb', 'shell', 'am', 'start', '-n', 'net.osmand.plus/net.osmand.plus.activities.MapActivity'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives(file("../OsmAnd-java/build/libs/OsmAnd-java-android-1.0.jar")) {
|
||||||
|
name "OsmAnd-java-android"
|
||||||
|
type "jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Uploading artifacts to local path
|
// Uploading artifacts to local path
|
||||||
group = "net.osmand"
|
group = 'net.osmand'
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
repositories.ivy {
|
repositories.ivy {
|
||||||
// credentials {
|
// credentials {
|
||||||
// username ""
|
// username ""
|
||||||
// password ""
|
// password ""
|
||||||
// }
|
// }
|
||||||
|
|
||||||
url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./"
|
url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./"
|
||||||
layout "pattern" , {
|
layout "pattern" , {
|
||||||
artifact "[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
artifact "[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
|
||||||
}
|
}
|
||||||
|
|
||||||
// def gitInfo = "git describe --long".execute().text.trim()
|
// def gitInfo = "git describe --long".execute().text.trim()
|
||||||
|
|
Loading…
Reference in a new issue