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