I changed last part of android/OsmAnd/build.gradle to use local .aar files,
but I can't see a difference:
repositories {
flatDir{
dirs '../../core/wrappers/android/build/intermediates/exploded-aar/'
,
'../../core/wrappers/android/',
'../../core/wrappers/android/NativeCore/build/outputs/aar/',
'../../core/wrappers/android/build/outputs/aar',
'../../core/wrappers/android/NativeCoreRelease/build/outputs/aar',
'../../core/wrappers/android/NativeCoreDebug/build/outputs/aar'
}
ivy {
name = "OsmAndBinariesIvy"
url = "http://builder.osmand.net"
layout "pattern", {
artifact
"ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
// mavenCentral()
}
dependencies {
compile project(path: ':OsmAnd-java', configuration: 'android')
// compile project(':eclipse-compile:design')
// compile project(':eclipse-compile:cardview')
// compile project(':eclipse-compile:gridlayout')
compile 'com.android.support:gridlayout-v7:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile fileTree(include: ['*.jar'], exclude: ['QtAndroid-bundled.jar',
'QtAndroidAccessibility-bundled.jar', 'OsmAndCore_android.jar',
'OsmAndCore_wrapper.jar', 'android-support-multidex.jar'], dir: 'libs')
legacyCompile "net.osmand:OsmAndCore_android-debug@aar"
qtcoredebugCompile "net.osmand:OsmAndCore_androidNativeDebug-debug@aar"
qtcoredebugCompile "net.osmand:OsmAndCore_android-debug@aar"
qtcoreCompile "net.osmand:OsmAndCore_androidNativeRelease-release@aar"
qtcoreCompile "net.osmand:OsmAndCore_android-release@aar"
}
W dniu niedziela, 25 września 2016 12:27:26 UTC+2 użytkownik
[email protected] napisał:
>
>
> On Sunday, September 25, 2016 at 10:46:07 AM UTC+1, [email protected]
> wrote:
> On the other hand, building using gradle as Max suggested has built two
> .aar files (in core/wrappers/android/build/
> outputs/aar). Looking at the dependencies defined in build.gradle in
> android/OsmAnd it looks like aar snapshots of the Qt core are used. These
> are expanded in build/intermediates/exploded-aar. Perhaps there is some
> way of pointing gradle at the locally generated aar files instead of (what
> i presume is) a downloaded snapshot.
>
> Actually, the aar files in core/wrappers/android/NativeCore... look more
> like the names referenced in android/OsmAnd's build.gradle.
>
>
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.