Skip to content

Commit e8c218d

Browse files
committed
update dependency management to GitHub packages
update readme with GitHub mvn packages update version in readme
1 parent 2278748 commit e8c218d

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ It encourages to adapt to existing implementations instead the other way around.
77

88
# Frameworks
99
## Setup
10+
11+
Packages are hosted on GitHub. [Authentication](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages) is required.
12+
1013
### Maven
1114

1215
```xml
1316
<properties>
14-
<myndocs.oauth.version>0.6.0</myndocs.oauth.version>
17+
<myndocs.oauth.version>0.7.0</myndocs.oauth.version>
1518
</properties>
1619

1720
<dependencies>
@@ -38,21 +41,10 @@ It encourages to adapt to existing implementations instead the other way around.
3841
<version>${myndocs.oauth.version}</version>
3942
</dependency>
4043
</dependencies>
41-
42-
<repositories>
43-
<repository>
44-
<id>myndocs-oauth2</id>
45-
<url>https://dl.bintray.com/adhesivee/oauth2-server</url>
46-
</repository>
47-
</repositories>
4844
```
4945

5046
### Gradle
5147
```groovy
52-
repositories {
53-
maven { url 'https://dl.bintray.com/adhesivee/oauth2-server' }
54-
}
55-
5648
dependencies {
5749
compile "nl.myndocs:oauth2-server-core:$myndocs_oauth_version"
5850
// In memory dependencies

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@
132132

133133
<distributionManagement>
134134
<repository>
135-
<id>kotlin-oauth2-server</id>
136-
<url>https://api.bintray.com/maven/adhesivee/oauth2-server/kotlin-oauth2-server/;publish=1</url>
135+
<id>github</id>
136+
<url>https://maven.pkg.github.com/myndocs/kotlin-oauth2-server</url>
137137
</repository>
138138
</distributionManagement>
139139
</project>

0 commit comments

Comments
 (0)