11plugins {
22 id ' java-library'
33 id " jacoco"
4+ id " com.vanniktech.maven.publish" version " 0.28.0"
45}
56
67tasks. withType(JavaCompile ) {
@@ -331,50 +332,49 @@ tasks.withType(PublishToMavenLocal) {
331332// Maven central Start
332333// Disabling due to java8 incompat, only needed to manually publishing anyways
333334
334- // signing.useGpgCmd()
335- //
336- // import com.vanniktech.maven.publish.SonatypeHost
337- // import com.vanniktech.maven.publish.JavaLibrary
338- // import com.vanniktech.maven.publish.JavadocJar
339- //
340- // mavenPublishing {
341- // configure(new JavaLibrary(new JavadocJar.None(), true))
342- // }
343- //
344- // mavenPublishing {
345- // publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
346- //
347- // signAllPublications()
348- // pom {
349- // name = 'Primitive Collections'
350- // description = 'A Primitive Collection library that reduces memory usage and improves performance'
351- // url = 'https://github.com/Speiger/Primitive-Collections'
352- // version = project.version
353- // group = 'io.github.speiger'
354- // licenses {
355- // license {
356- // name = 'The Apache License, Version 2.0'
357- // url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
358- // }
359- // }
360- //
361- // developers {
362- // developer {
363- // id = 'speiger'
364- // name = 'Speiger'
365- // }
366- // }
367- //
368- // scm {
369- // connection = 'scm:git:git://github.com/Speiger/Primitive-Collections.git'
370- // developerConnection = 'scm:git:ssh://github.com:Speiger/Primitive-Collections.git'
371- // url = 'https://github.com/Speiger/Primitive-Collections'
372- // }
373- //
374- // issueManagement {
375- // system = 'github'
376- // url = 'https://github.com/Speiger/Primitive-Collections/issues'
377- // }
378- // }
379- // }
380- //
335+ signing. useGpgCmd()
336+
337+ import com.vanniktech.maven.publish.SonatypeHost
338+ import com.vanniktech.maven.publish.JavaLibrary
339+ import com.vanniktech.maven.publish.JavadocJar
340+
341+ mavenPublishing {
342+ configure(new JavaLibrary (new JavadocJar.None (), true ))
343+ }
344+
345+ mavenPublishing {
346+ publishToMavenCentral(SonatypeHost . CENTRAL_PORTAL )
347+
348+ signAllPublications()
349+ pom {
350+ name = ' Primitive Collections'
351+ description = ' A Primitive Collection library that reduces memory usage and improves performance'
352+ url = ' https://github.com/Speiger/Primitive-Collections'
353+ version = project. version
354+ group = ' io.github.speiger'
355+ licenses {
356+ license {
357+ name = ' The Apache License, Version 2.0'
358+ url = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
359+ }
360+ }
361+
362+ developers {
363+ developer {
364+ id = ' speiger'
365+ name = ' Speiger'
366+ }
367+ }
368+
369+ scm {
370+ connection = ' scm:git:git://github.com/Speiger/Primitive-Collections.git'
371+ developerConnection = ' scm:git:ssh://github.com:Speiger/Primitive-Collections.git'
372+ url = ' https://github.com/Speiger/Primitive-Collections'
373+ }
374+
375+ issueManagement {
376+ system = ' github'
377+ url = ' https://github.com/Speiger/Primitive-Collections/issues'
378+ }
379+ }
380+ }
0 commit comments