fdroiddata/srclibs/piasy.yml
Marcus Hoffmann 44ce3ca5de element: v1.1.3
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
2021-04-06 18:05:07 +02:00

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