Skip to content

Commit

Permalink
The actual 1.0.0 for JitPack.
Browse files Browse the repository at this point in the history
Release javadocs also were being published as `maven-javadoc-1.0.0-javadoc.jar`, which is silly because they all had the same name. I fixed the configuration, but vanniktech should really fix that by default.
  • Loading branch information
tommyettinger committed Jul 14, 2024
1 parent 50336ec commit 2b4955c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ configure(allprojects) {

}
}

allprojects {
version = "$VERSION_NAME"
group = 'com.github.tommyettinger'
Expand All @@ -46,6 +47,15 @@ allprojects {
}


import com.vanniktech.maven.publish.JavaLibrary
import com.vanniktech.maven.publish.JavadocJar

mavenPublishing {
configure(new JavaLibrary(new JavadocJar.Javadoc(), true))
}

mavenPlainJavadocJar.archiveBaseName.set("textratypist")

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Expand Down
9 changes: 9 additions & 0 deletions freetypist/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ if (JavaVersion.current().isJava8Compatible()) {
}
}

import com.vanniktech.maven.publish.JavaLibrary
import com.vanniktech.maven.publish.JavadocJar

mavenPublishing {
configure(new JavaLibrary(new JavadocJar.Javadoc(), true))
}

mavenPlainJavadocJar.archiveBaseName.set("freetypist")

compileJava {
sourceCompatibility = 8
targetCompatibility = 8
Expand Down
2 changes: 1 addition & 1 deletion freetypist/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ POM_DEVELOPER_NAME=Tommy Ettinger
POM_DEVELOPER_URL=https://github.com/tommyettinger/

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
RELEASE_SIGNING_ENABLED=false
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ regexodusVersion=0.1.15
anim8Version=0.4.5

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
RELEASE_SIGNING_ENABLED=false

GROUP=com.github.tommyettinger
POM_ARTIFACT_ID=textratypist
Expand Down

0 comments on commit 2b4955c

Please sign in to comment.