Compare commits

...

2 Commits

Author SHA1 Message Date
niccolo.piazzesi
678375f2e1 Remove the plugin instead 2026-01-14 00:22:31 +01:00
niccolo.piazzesi
328c3cdd23 Prevent java-test-fixtures from creating self references in published pom files 2026-01-13 10:08:47 +01:00
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
plugins {
id 'java-library'
id 'java-test-fixtures'
id 'maven-publish'
id "org.jetbrains.kotlin.jvm"
id 'com.adarshr.test-logger' version '4.0.0'
@@ -95,7 +94,7 @@ jacocoTestReport {
afterEvaluate {
publishing {
publications.getByName(project.name) {
publications.named(project.name) {
pom {
description = 'ProGuard is a free shrinker, optimizer, obfuscator, and preverifier for Java bytecode'
}

View File

@@ -60,7 +60,7 @@ allprojects { Project project ->
configure(project) {
publishing {
publications {
create(project.name, MavenPublication) {
register(project.name, MavenPublication.class) {
pom {
artifactId = "proguard-$project.name"
name = "$group:$artifactId"
@@ -116,7 +116,7 @@ allprojects { Project project ->
publishing {
publications {
getByName(project.name) {
from components.java
from(components.java)
}
}
}