Skip to content

Commit

Permalink
3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elect86 committed Nov 3, 2023
1 parent cb721f5 commit 3a16e47
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 39 deletions.
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 35 additions & 39 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,47 +67,43 @@ testing.suites {
//}


configure<PublishingExtension> {
publications {
createGithubPublication {
from(components["java"])
suppressAllPomMetadataWarnings()
}
create<MavenPublication>("mavenCentral") {
groupId = "io.github.kotlin-graphics"
artifactId = "kotlin-unsigned"
from(components["java"])
versionMapping {
usage("java-api") { fromResolutionOf("runtimeClasspath") }
usage("java-runtime") { fromResolutionResult() }
}
pom {
name = "kotlin-unsigned"
description = "unsigned support for Kotlin via boxed types and unsigned operators"
url = "https://github.com/kotlin-graphics/kotlin-unsigned"
licenses { license { name = "MIT"; url = "https://choosealicense.com/licenses/mit/" } }
developers {
developer { id = "elect86"; name = "Giuseppe Barbieri"; email = "[email protected]" }
developer { id = "bixilon"; name = "Moritz Zwerger"; email = "[email protected]" }
}
scm {
connection = "scm:git:https://github.com/kotlin-graphics/kotlin-unsigned.git"
developerConnection = "scm:git:ssh://[email protected]:kotlin-graphics/kotlin-unsigned.git"
url = "https://github.com/kotlin-graphics/kotlin-unsigned"
}
}
}
}
publishing {
// publications {
// withType<MavenPublication> {
// groupId = "io.github.kotlin-graphics"
// artifactId = "kotlin-unsigned"
//// from(components["java"])
//// versionMapping {
//// usage("java-api") { fromResolutionOf("runtimeClasspath") }
//// usage("java-runtime") { fromResolutionResult() }
//// }
// pom {
// name = "kotlin-unsigned"
// description = "unsigned support for Kotlin via boxed types and unsigned operators"
// url = "https://github.com/kotlin-graphics/kotlin-unsigned"
// licenses { license { name = "MIT"; url = "https://choosealicense.com/licenses/mit/" } }
// developers {
// developer { id = "elect86"; name = "Giuseppe Barbieri"; email = "[email protected]" }
// developer { id = "bixilon"; name = "Moritz Zwerger"; email = "[email protected]" }
// }
// scm {
// connection = "scm:git:https://github.com/kotlin-graphics/kotlin-unsigned.git"
// developerConnection = "scm:git:ssh://[email protected]:kotlin-graphics/kotlin-unsigned.git"
// url = "https://github.com/kotlin-graphics/kotlin-unsigned"
// }
// }
// }
// }
repositories {
github { domain = "kotlin-graphics/mary" }
maven {
name = "mavenCentral"
credentials {
username = project.properties["NEXUS_USERNAME"].toString()
password = project.properties["NEXUS_PASSWORD"].toString()
}
url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
}
// maven {
// name = "mavenCentral"
// credentials {
// username = project.properties["NEXUS_USERNAME"].toString()
// password = project.properties["NEXUS_PASSWORD"].toString()
// }
// url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
// }
}
}

Expand Down

0 comments on commit 3a16e47

Please sign in to comment.