diff --git a/.classpath b/.classpath index 8d2daaf..6eb9ad0 100644 --- a/.classpath +++ b/.classpath @@ -32,7 +32,7 @@ - + diff --git a/build.gradle b/build.gradle index 739a30e..5d47edd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java-library' id "jacoco" + id "com.vanniktech.maven.publish" version "0.28.0" } tasks.withType(JavaCompile) { @@ -331,50 +332,49 @@ tasks.withType(PublishToMavenLocal) { //Maven central Start //Disabling due to java8 incompat, only needed to manually publishing anyways -//signing.useGpgCmd() -// -//import com.vanniktech.maven.publish.SonatypeHost -//import com.vanniktech.maven.publish.JavaLibrary -//import com.vanniktech.maven.publish.JavadocJar -// -//mavenPublishing { -// configure(new JavaLibrary(new JavadocJar.None(), true)) -//} -// -//mavenPublishing { -// publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) -// -// signAllPublications() -// pom { -// name = 'Primitive Collections' -// description = 'A Primitive Collection library that reduces memory usage and improves performance' -// url = 'https://github.com/Speiger/Primitive-Collections' -// version = project.version -// group = 'io.github.speiger' -// licenses { -// license { -// name = 'The Apache License, Version 2.0' -// url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' -// } -// } -// -// developers { -// developer { -// id = 'speiger' -// name = 'Speiger' -// } -// } -// -// scm { -// connection = 'scm:git:git://github.com/Speiger/Primitive-Collections.git' -// developerConnection = 'scm:git:ssh://github.com:Speiger/Primitive-Collections.git' -// url = 'https://github.com/Speiger/Primitive-Collections' -// } -// -// issueManagement { -// system = 'github' -// url = 'https://github.com/Speiger/Primitive-Collections/issues' -// } -// } -//} -// \ No newline at end of file +signing.useGpgCmd() + +import com.vanniktech.maven.publish.SonatypeHost +import com.vanniktech.maven.publish.JavaLibrary +import com.vanniktech.maven.publish.JavadocJar + +mavenPublishing { + configure(new JavaLibrary(new JavadocJar.None(), true)) +} + +mavenPublishing { + publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) + + signAllPublications() + pom { + name = 'Primitive Collections' + description = 'A Primitive Collection library that reduces memory usage and improves performance' + url = 'https://github.com/Speiger/Primitive-Collections' + version = project.version + group = 'io.github.speiger' + licenses { + license { + name = 'The Apache License, Version 2.0' + url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + } + + developers { + developer { + id = 'speiger' + name = 'Speiger' + } + } + + scm { + connection = 'scm:git:git://github.com/Speiger/Primitive-Collections.git' + developerConnection = 'scm:git:ssh://github.com:Speiger/Primitive-Collections.git' + url = 'https://github.com/Speiger/Primitive-Collections' + } + + issueManagement { + system = 'github' + url = 'https://github.com/Speiger/Primitive-Collections/issues' + } + } +} diff --git a/gradle.properties b/gradle.properties index 6903c4c..f0c1140 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,4 +3,4 @@ org.gradle.jvmargs=-Xmx3G maxMemory = 2048m testThreads = 4 -RELEASE_VERSION = 0.9.0 \ No newline at end of file +RELEASE_VERSION = 1.0.0 \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml index d6d5fd5..cedbe86 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,5 +1,5 @@ jdk: - - openjdk9 + - openjdk21 install: - chmod +x ./gradlew - ./gradlew build publishToMavenLocal