- further split
AboutLibraries
intocore
andui
anddefinitions
module - by default the
definitions
module is no longer part of core, as it is meant to be replaced with the new gradle plugin - support libs got hardcoded to version 28.0.0
- libraries are now described using the information resolved from the relevant POM files (their maven information)
- currently (subject to change) as soon as the gradle plugin is used, no libraries with embedded definition files, nor internal libraries are resolved (due to otherwise duplication)
- before a stable release there will be some different settings for this, e.g. merge lib info from definition file, with library from gradle plugin, ...)
- use the exclude version and the id from the gradle plugin to exclude libraries
Gradle Plugin
As a new feature of the AboutLibraries v8.x.y we offer a gradle plugin which will resolve the dependency during compilation, and only includes the libraries which are really specified as dependencies.
// Root build.gradle
maven {
url uri('https://dl.bintray.com/mikepenz/gradle-plugins/') // TODO wait for approval in jCenter
}
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:0.1.1"
// App build.gradle
apply plugin: 'aboutlibraries-plugin'
Modules
implementation "com.mikepenz:aboutlibraries-core:8.0.0-a01" // only core logic
implementation "com.mikepenz:aboutlibraries:8.0.0-a01" // adds all UI
implementation "com.mikepenz:aboutlibraries-definitions:8.0.0-a01" // only core logic