diff --git a/build.gradle b/build.gradle index 839fe545..58e453a4 100644 --- a/build.gradle +++ b/build.gradle @@ -41,32 +41,36 @@ dependencies { testImplementation group: 'org.mockito', name: 'mockito-core', version: '1.+' } -modifyPom { - project { - name 'EvA2' - description 'Gradle plugin that provides tasks for configuring and uploading artifacts to Sonatype Nexus.' - url 'http://www.ra.cs.uni-tuebingen.de/software/eva2/' - inceptionYear '2008' +publishing { + publications { + mavenJava(MavenPublication) { + pom { + name 'EvA2' + description 'Gradle plugin that provides tasks for configuring and uploading artifacts to Sonatype Nexus.' + url 'http://www.ra.cs.uni-tuebingen.de/software/eva2/' + inceptionYear '2008' - scm { - url 'https://gitlab.cs.uni-tuebingen.de/eva2/eva2/' - connection 'scm:https://gitlab.cs.uni-tuebingen.de/eva2/eva2/.git' - developerConnection 'scm:https://gitlab.cs.uni-tuebingen.de/eva2/eva2/.git' - } + scm { + url 'https://gitlab.cs.uni-tuebingen.de/eva2/eva2/' + connection 'scm:https://gitlab.cs.uni-tuebingen.de/eva2/eva2/.git' + developerConnection 'scm:https://gitlab.cs.uni-tuebingen.de/eva2/eva2/.git' + } - licenses { - license { - name 'GNU Lesser General Public License, Version 3.0' - url 'http://www.gnu.org/licenses/lgpl-3.0.html' - distribution 'repo' - } - } + licenses { + license { + name 'GNU Lesser General Public License, Version 3.0' + url 'http://www.gnu.org/licenses/lgpl-3.0.html' + distribution 'repo' + } + } - developers { - developer { - id 'halfdan' - name 'Fabian Becker' - email 'halfdan@xnorfz.de' + developers { + developer { + id 'halfdan' + name 'Fabian Becker' + email 'halfdan@xnorfz.de' + } + } } } }