Fixed java8 compat
This commit is contained in:
parent
330be87338
commit
961b47a58c
102
build.gradle
102
build.gradle
|
@ -1,7 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id "jacoco"
|
id "jacoco"
|
||||||
id "com.vanniktech.maven.publish" version "0.28.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
|
@ -327,56 +326,55 @@ tasks.withType(PublishToMavenLocal) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Maven central Start
|
//Maven central Start
|
||||||
import com.vanniktech.maven.publish.SonatypeHost
|
//Disabling due to java8 incompat, only needed to manually publishing anyways
|
||||||
signing.useGpgCmd()
|
|
||||||
|
|
||||||
import com.vanniktech.maven.publish.JavaLibrary
|
//plugins {
|
||||||
import com.vanniktech.maven.publish.JavadocJar
|
// id "com.vanniktech.maven.publish" version "0.28.0"
|
||||||
|
//}
|
||||||
mavenPublishing {
|
//signing.useGpgCmd()
|
||||||
// the first parameter configures the -javadoc artifact, possible values:
|
//
|
||||||
// - `JavadocJar.None()` don't publish this artifact
|
//import com.vanniktech.maven.publish.SonatypeHost
|
||||||
// - `JavadocJar.Empty()` publish an emprt jar
|
//import com.vanniktech.maven.publish.JavaLibrary
|
||||||
// - `JavadocJar.Javadoc()` to publish standard javadocs
|
//import com.vanniktech.maven.publish.JavadocJar
|
||||||
// the second whether to publish a sources jar
|
//
|
||||||
configure(new JavaLibrary(new JavadocJar.None(), true))
|
//mavenPublishing {
|
||||||
}
|
// configure(new JavaLibrary(new JavadocJar.None(), true))
|
||||||
|
//}
|
||||||
mavenPublishing {
|
//
|
||||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
//mavenPublishing {
|
||||||
|
// publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||||
signAllPublications()
|
//
|
||||||
pom {
|
// signAllPublications()
|
||||||
name = 'Primitive Collections'
|
// pom {
|
||||||
description = 'A Primitive Collection library that reduces memory usage and improves performance'
|
// name = 'Primitive Collections'
|
||||||
url = 'https://github.com/Speiger/Primitive-Collections'
|
// description = 'A Primitive Collection library that reduces memory usage and improves performance'
|
||||||
version = project.version
|
// url = 'https://github.com/Speiger/Primitive-Collections'
|
||||||
group = 'io.github.speiger'
|
// version = project.version
|
||||||
licenses {
|
// group = 'io.github.speiger'
|
||||||
license {
|
// licenses {
|
||||||
name = 'The Apache License, Version 2.0'
|
// license {
|
||||||
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
// name = 'The Apache License, Version 2.0'
|
||||||
}
|
// url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
developers {
|
//
|
||||||
developer {
|
// developers {
|
||||||
id = 'speiger'
|
// developer {
|
||||||
name = 'Speiger'
|
// id = 'speiger'
|
||||||
}
|
// name = 'Speiger'
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
scm {
|
//
|
||||||
connection = 'scm:git:git://github.com/Speiger/Primitive-Collections.git'
|
// scm {
|
||||||
developerConnection = 'scm:git:ssh://github.com/Speiger/Primitive-Collections.git'
|
// connection = 'scm:git:git://github.com/Speiger/Primitive-Collections.git'
|
||||||
url = 'https://github.com/Speiger/Primitive-Collections'
|
// developerConnection = 'scm:git:ssh://github.com/Speiger/Primitive-Collections.git'
|
||||||
}
|
// url = 'https://github.com/Speiger/Primitive-Collections'
|
||||||
|
// }
|
||||||
issueManagement {
|
//
|
||||||
system = 'github'
|
// issueManagement {
|
||||||
url = 'https://github.com/Speiger/Primitive-Collections/issues'
|
// system = 'github'
|
||||||
}
|
// url = 'https://github.com/Speiger/Primitive-Collections/issues'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//}
|
||||||
|
|
Loading…
Reference in New Issue