configure maven-publish plugin
This commit is contained in:
parent
2fece83c7c
commit
464b8053fe
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
java
|
`java-library`
|
||||||
|
`maven-publish`
|
||||||
pmd
|
pmd
|
||||||
checkstyle
|
checkstyle
|
||||||
jacoco
|
jacoco
|
||||||
@ -39,6 +40,24 @@ tasks.jacocoTestReport {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
allprojects {
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
create<MavenPublication>(name) {
|
||||||
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = uri("https://nexus.knecon.com/repository/gindev/")
|
||||||
|
credentials {
|
||||||
|
username = providers.gradleProperty("mavenUser").getOrNull();
|
||||||
|
password = providers.gradleProperty("mavenPassword").getOrNull();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
@ -48,7 +67,7 @@ repositories {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
maven {
|
||||||
url = uri("https://nexus.knecon.com/repository/gindev/");
|
url = uri("https://nexus.knecon.com/repository/gindev/")
|
||||||
credentials {
|
credentials {
|
||||||
username = providers.gradleProperty("mavenUser").getOrNull();
|
username = providers.gradleProperty("mavenUser").getOrNull();
|
||||||
password = providers.gradleProperty("mavenPassword").getOrNull();
|
password = providers.gradleProperty("mavenPassword").getOrNull();
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.knecon.fforesight.java-conventions")
|
id("com.knecon.fforesight.java-conventions")
|
||||||
id("io.freefair.lombok") version "8.1.0"
|
id("io.freefair.lombok") version "8.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
description = "layoutparser-service-processor"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":layoutparser-service-internal-api"))
|
implementation(project(":layoutparser-service-internal-api"))
|
||||||
|
|
||||||
@ -18,7 +21,4 @@ dependencies {
|
|||||||
implementation("com.fasterxml.jackson.module:jackson-module-afterburner:2.15.0-rc2")
|
implementation("com.fasterxml.jackson.module:jackson-module-afterburner:2.15.0-rc2")
|
||||||
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.0-rc2")
|
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.0-rc2")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web:3.0.6")
|
implementation("org.springframework.boot:spring-boot-starter-web:3.0.6")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "layoutparser-service-processor"
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user