Skip to content

Commit

Permalink
Update 0.4.2-beta
Browse files Browse the repository at this point in the history
 - Maven central url change
 - Invalid versioning
  • Loading branch information
patrick-choe committed Mar 23, 2020
1 parent dae1464 commit 01f7d2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
>
>...
>dependencies {
> implementation 'com.github.patrick-mc:vector-game:0.4-beta'
> implementation 'com.github.patrick-mc:vector-game:0.4.2-beta'
>}
>```
Expand All @@ -56,6 +56,6 @@
>
>...
>dependencies {
> implementation("com.github.patrick-mc:vector-game:0.4-beta")
> implementation("com.github.patrick-mc:vector-game:0.4.2-beta")
>}
>```
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.github.patrick-mc"
version = "0.4-beta"
version = "0.4.2-beta"

repositories {
maven("https://repo.maven.apache.org/maven2/")
Expand Down Expand Up @@ -68,7 +68,9 @@ try {
password = project.property("centralPassword").toString()
}

url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
val releasesRepoUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
val snapshotsRepoUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: VectorGame
version: 0.4-beta
version: 0.4.2-beta
description: A vector game for education
api-version: "1.12"
load: POSTWORLD
Expand Down

0 comments on commit 01f7d2d

Please sign in to comment.