tidy build config, update pom.xmls

This commit is contained in:
Adam 2023-05-31 23:27:56 +02:00
parent 1b40145970
commit fc3a5648ed
4 changed files with 7 additions and 18 deletions

View file

@ -39,12 +39,6 @@ base {
archivesName.set(rootProject.name)
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
}
application {
mainClass.set(urlEncoderMainClass)
}

View file

@ -6,10 +6,11 @@
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>urlencoder</groupId>
<groupId>net.thauvin.erik</groupId>
<artifactId>urlencoder</artifactId>
<version>unspecified</version>
<version>1.3.1-SNAPSHOT</version>
<name>UrlEncoder for Kotlin</name>
<description>A simple defensive application to encode/decode URL components</description>
<url>https://github.com/ethauvin/urlencoder</url>
<licenses>
<license>
@ -48,9 +49,9 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>urlencoder</groupId>
<groupId>net.thauvin.erik</groupId>
<artifactId>urlencoder-lib</artifactId>
<version>unspecified</version>
<version>1.3.1-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
</dependencies>

View file

@ -36,12 +36,6 @@ base {
archivesName.set(rootProject.name)
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
}
tasks {
withType<GenerateMavenPom>().configureEach {
destination = file("$projectDir/pom.xml")

View file

@ -6,9 +6,9 @@
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>urlencoder</groupId>
<groupId>net.thauvin.erik</groupId>
<artifactId>urlencoder-lib</artifactId>
<version>unspecified</version>
<version>1.3.1-SNAPSHOT</version>
<name>UrlEncoder for Kotlin</name>
<description>A simple defensive library to encode/decode URL components</description>
<url>https://github.com/ethauvin/urlencoder</url>