From de58ff5f4bb4f14a24f8389e4bde76357cf566cd Mon Sep 17 00:00:00 2001 From: max-klaus Date: Thu, 26 Nov 2020 18:41:30 +0300 Subject: [PATCH] Fix lib script --- OsmAnd/build.gradle.lib | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/OsmAnd/build.gradle.lib b/OsmAnd/build.gradle.lib index f29b9b2a10..fa1d94d3ce 100644 --- a/OsmAnd/build.gradle.lib +++ b/OsmAnd/build.gradle.lib @@ -17,6 +17,7 @@ android { } lintOptions { + tasks.lint.enabled = 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' } +artifacts { + archives(file("../OsmAnd-java/build/libs/OsmAnd-java-android-1.0.jar")) { + name "OsmAnd-java-android" + type "jar" + } +} + // Uploading artifacts to local path -group = "net.osmand" +group = 'net.osmand' uploadArchives { repositories.ivy { // credentials { // username "" // password "" // } + url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./" 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()