diff --git a/OsmAnd-java/build.gradle b/OsmAnd-java/build.gradle index 1155d6bac22..dfa6ff47976 100644 --- a/OsmAnd-java/build.gradle +++ b/OsmAnd-java/build.gradle @@ -124,6 +124,8 @@ publishing { } dependencies { + implementation project(path:':OsmAnd-shared', configuration : gradle.ext.java_shared_conf) + testImplementation 'junit:junit:4.12' testImplementation 'org.hamcrest:hamcrest-core:1.3' implementation group: 'commons-logging', name: 'commons-logging', version: '1.2' diff --git a/settings.gradle b/settings.gradle index 5e6d72bca1e..1d8f90210d4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,4 +5,6 @@ include ':OsmAnd-telegram' include ':OsmAnd-shared' include ':plugins:Osmand-Nautical' include ':plugins:Osmand-SRTMPlugin' -include ':plugins:Osmand-Skimaps' \ No newline at end of file +include ':plugins:Osmand-Skimaps' + +gradle.ext.java_shared_conf = '' \ No newline at end of file