From 00d5384d65120f804f1130deeb330f84e9e50b30 Mon Sep 17 00:00:00 2001 From: Chumva Date: Fri, 11 Oct 2019 17:18:01 +0300 Subject: [PATCH] Try to add sources --- OsmAnd-api/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OsmAnd-api/build.gradle b/OsmAnd-api/build.gradle index bc69eed738..9571d286cf 100644 --- a/OsmAnd-api/build.gradle +++ b/OsmAnd-api/build.gradle @@ -33,4 +33,13 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:support-annotations:27.1.1' +} + +task sourcesJar(type: Jar) { + classifier = 'sources' + from android.sourceSets.main.java.sourceFiles +} + +artifacts { + archives sourcesJar } \ No newline at end of file