mirror of
https://gitlab.com/fdroid/fdroiddata.git
synced 2025-11-14 16:06:04 +01:00
This needed refactoring in how the piasy BigImageViewer lib is handled
as newer versions of that bumped their AGP. We can now use the native
support through maven-publish-plugin and just need to override some of
the publishing variables.
The non-minified version looks like this:
```
apply plugin: 'maven-publish'
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.github.piasy'
version = releaseVersionName
}
}
}
}
```
See also: https://developer.android.com/studio/build/maven-publish-plugin
6 lines
527 B
YAML
6 lines
527 B
YAML
RepoType: git
|
|
Repo: https://github.com/Piasy/BigImageViewer.git
|
|
# The prepare step adds a gradle plugin which allows installing the libraries to a local maven repo ~/.m2
|
|
# It also installs it.
|
|
Prepare: |
|
|
sed -i -e '\|http://dl.bintray.com/piasy/maven|d' build.gradle && echo -e "apply plugin: 'maven-publish'\nafterEvaluate { publishing { publications { release(MavenPublication) { from components.release\ngroupId = 'com.github.piasy'\nversion = releaseVersionName}}}}" > gradle/bintray.gradle && gradle publishToMavenLocal
|