File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
maintainer-scripts/publish-aar Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,22 @@ signing {
2626 }
2727}
2828
29+ val loaderAar = file(File (root, " openxr_loader_for_android-${version} .aar" ))
30+ val loaderSourcesJar = file(File (root, " openxr_loader_for_android-${version} -sources.jar" ))
31+
2932publishing {
3033 publications {
3134 create<MavenPublication >(" maven" ) {
35+
3236 artifactId = " openxr_loader_for_android"
33- afterEvaluate {
34- artifact(file(File (root, " openxr_loader_for_android-${version} .aar" )))
37+ artifact(loaderAar) {
38+ extension = " aar"
39+ }
40+ artifact(loaderSourcesJar) {
41+ extension = " jar"
42+ classifier = " sources"
3543 }
44+
3645 pom {
3746 name.set(" OpenXR Loader for Android" )
3847 description.set(" The AAR for the OpenXR Loader as used on Android." )
@@ -50,7 +59,6 @@ publishing {
5059 }
5160 developers {
5261 developer {
53- id.set(" openxr-speceditor" )
5462 name.set(" The Khronos Group, Inc. OpenXR Working Group" )
5563 email.set(" openxr-speceditor AT khronos DOT org" )
5664 url.set(" https://khronos.org/openxr" )
@@ -72,10 +80,6 @@ publishing {
7280 name = " BuildDir"
7381 url = uri(layout.buildDirectory.dir(" repo" ))
7482 }
75- maven {
76- name = " GitHubPackages"
77- url = uri(" https://maven.pkg.github.com/KhronosGroup/OpenXR-SDK-Source" )
78- }
7983 maven {
8084 name = " OSSRH"
8185 url = uri(" https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" )
You can’t perform that action at this time.
0 commit comments