Files
RobotandClaude Sonnet 4.6 34c40304f6
CI / Build Java (push) Has been cancelled
CI / Build Native (macos-latest - macos) (push) Has been cancelled
CI / Build Native (ubuntu-latest - linux) (push) Has been cancelled
CI / Build Native (ubuntu-latest - windows) (push) Has been cancelled
CI / Archive Natives (push) Has been cancelled
CI / Update Binaries (push) Has been cancelled
CI / Release (push) Has been cancelled
feat: add IMGUI_USE_WCHAR32 support, cross-compile natives, publish to mvn.mrlokop.dev
- Enable IMGUI_USE_WCHAR32 in imconfig.h (ImWchar = uint32_t)
- Extend ImFontGlyphRangesBuilder, ImFontConfig, ImFontAtlas for 32-bit codepoints
- Cross-compile natives for macOS universal, Linux x86_64 (glibc), Windows x86_64
- Publish as org.nnstd.imgui:...:1.90.0-wchar32+mrlokop2 to mvn.mrlokop.dev
- Add BUILDING.md with full rebuild and publish instructions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 10:29:43 +03:00

69 lines
2.4 KiB
Groovy

ext.configurePublishing = { packageName, packageDesc, packageVersion ->
tasks.register('sourcesJar', Jar) {
it.dependsOn classes
it.archiveClassifier.set('sources')
it.from sourceSets.main.allSource
}
tasks.register('javadocJar', Jar) {
it.dependsOn javadoc
it.archiveClassifier.set('javadoc')
it.from javadoc.destinationDir
}
publishing {
repositories {
maven {
name = 'MrLokop'
url = 'https://mvn.mrlokop.dev/releases'
credentials {
username = 'AutoRobot'
password = '8Mr3OAv4WcRNHZS3lAVDx32sWt71YS7GsBvN7TZhCGMmDeSz'
}
}
}
publications {
imgui(MavenPublication) {
groupId = 'org.nnstd.imgui'
artifactId = packageName
version = packageVersion
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = packageName
description = packageDesc
url = 'https://github.com/SpaiR/imgui-java'
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/license/mit/'
}
}
developers {
developer {
id = 'SpaiR'
name = 'Ilya Prymshyts'
email = 'despsolver@gmail.com'
}
}
scm {
connection = 'scm:git:https://github.com/SpaiR/imgui-java.git'
developerConnection = 'scm:git:https://github.com/SpaiR/imgui-java.git'
url = 'https://github.com/SpaiR/imgui-java.git'
}
}
}
}
}
if (System.getenv('SIGNING_KEY_ID') != null) {
signing {
def signingKeyId = System.getenv('SIGNING_KEY_ID')?.trim() ?: ''
def signingKey = System.getenv('SIGNING_KEY')?.trim() ?: ''
def signingKeyPass = System.getenv('SIGNING_KEY_PASS')?.trim() ?: ''
useInMemoryPgpKeys(signingKeyId, signingKey, signingKeyPass)
sign publishing.publications.imgui
}
}
}