D17986: Build the Java side with Gradle, as AAR instead of JAR
Volker Krause
noreply at phabricator.kde.org
Sat Jan 5 12:03:23 GMT 2019
vkrause created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
vkrause requested review of this revision.
REVISION SUMMARY
Most importantly this allows us to use the AndroidX support library, to
properly support a wide range of different Android versions (we link to
that for demonstration purposes only atm, it's not actually used yet).
This is closer to the Android way of doing things than the previous raw
approach, which should be more sustainable. The obvious dirty things this
does like copying the build tool into the project or downloading tons of
stuff during the build seem to be "normal".
For this to be consumable by application, a tiny change to their
build.gradle files is needed: https://codereview.qt-project.org/#/c/249179/
REPOSITORY
R289 KNotifications
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D17986
AFFECTED FILES
CMakeLists.txt
cmake/modules/FindGradle.cmake
cmake/modules/local.properties.in
cmake/modules/settings.gradle.in
src/AndroidManifest.xml
src/CMakeLists.txt
src/KF5Notifications-android-dependencies.xml
src/build.gradle
To: vkrause
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190105/c9579ffb/attachment.html>
More information about the Kde-frameworks-devel
mailing list