mirror of
https://github.com/jlengrand/OpenGraphKt.git
synced 2026-03-10 08:31:23 +00:00
Preparing for release
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import com.vanniktech.maven.publish.SonatypeHost
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.21"
|
||||
id("com.vanniktech.maven.publish") version "0.30.0"
|
||||
}
|
||||
|
||||
group = "fr.lengrand"
|
||||
@@ -29,7 +32,40 @@ tasks.jar {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(23)
|
||||
}
|
||||
|
||||
mavenPublishing {
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||
|
||||
signAllPublications()
|
||||
|
||||
coordinates(group.toString(), "opengraphkt", version.toString())
|
||||
|
||||
pom {
|
||||
name = "OpenGraphKt"
|
||||
description = "A minimalist Kotlin library to work with the Open Graph protocol."
|
||||
inceptionYear = "2025"
|
||||
url = "https://github.com/jlengrand/OpenGraphKt"
|
||||
licenses {
|
||||
license {
|
||||
name = "The MIT License"
|
||||
url = "https://mit-license.org/"
|
||||
distribution = "https://mit-license.org/"
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id = "jlengrand"
|
||||
name = "Julien Lengrand-Lambert"
|
||||
url = "https://github.com/jlengrand"
|
||||
}
|
||||
}
|
||||
scm {
|
||||
url = "https://github.com/jlengrand/OpenGraphKt"
|
||||
connection = "scm:git:git://github.com/jlengrand/OpenGraphKt.git"
|
||||
developerConnection = "scm:git:ssh://git@github.com/jlengrand/OpenGraphKt.git"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user