Attempt at central publishing 2
This commit is contained in:
parent
d21a4be023
commit
b04ef4c77f
2 changed files with 3 additions and 3 deletions
|
|
@ -141,7 +141,7 @@ EntityLib uses the new Maven Central publishing system via the Central Portal (r
|
||||||
|
|
||||||
### Setting Up Central Portal Credentials
|
### Setting Up Central Portal Credentials
|
||||||
1. Go to [Central Portal](https://central.sonatype.com/) and log in with your GitHub account.
|
1. Go to [Central Portal](https://central.sonatype.com/) and log in with your GitHub account.
|
||||||
2. Create a namespace for your group ID (`io.github.tofaa2`).
|
2. **Create a namespace**: In the "Namespaces" section, create a new namespace for your group ID (`io.github.tofaa2`). This is crucial for publishing to work.
|
||||||
3. Generate a publishing token from the "Account Settings" > "Publishing Tokens".
|
3. Generate a publishing token from the "Account Settings" > "Publishing Tokens".
|
||||||
4. Use your email as the username and the token as the password.
|
4. Use your email as the username and the token as the password.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ fun getVersionMeta(includeHash: Boolean): String {
|
||||||
}
|
}
|
||||||
return "$commitHash-SNAPSHOT"
|
return "$commitHash-SNAPSHOT"
|
||||||
}
|
}
|
||||||
version = "$fullVersion${getVersionMeta(true)}"
|
version = "$fullVersion${getVersionMeta(false)}"
|
||||||
ext["versionBeta"] = getVersionMeta(true)
|
ext["versionBeta"] = getVersionMeta(false)
|
||||||
ext["versionNoHash"] = "$fullVersion${getVersionMeta(false)}"
|
ext["versionNoHash"] = "$fullVersion${getVersionMeta(false)}"
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue