Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Setup for publising #2

Merged
merged 6 commits into from
May 13, 2020
Merged

Setup for publising #2

merged 6 commits into from
May 13, 2020

Conversation

dkhmelenko
Copy link
Contributor

No description provided.

README.md Outdated
```groovy
implementation 'com.freeletics.statelayout:statelayout:1.0.0'
```
Keep in mind that this library is written in kotlin which means you also need to add `kotlin-stdlib` to a project using StateLayout.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't necessary. The Kotlin stdlib is a transitive dependency, there is no need for consumers to explicitly add it.

lib/build.gradle Outdated
Comment on lines 10 to 17
mavenPublish {
targets {
uploadArchives {
releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the default, no need to explicitly set it.

POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=Freeletics
POM_DEVELOPER_NAME=Freeletics
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add a POM_DEVELOPER_URL that links to https://freeletics.com or https://freeletics.engineering/

@dkhmelenko dkhmelenko merged commit b9cdfee into master May 13, 2020
@dkhmelenko dkhmelenko deleted the publishing branch May 13, 2020 20:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants