Skip to content

Commit 3049181

Browse files
Correcting vr pom path
1 parent cd56030 commit 3049181

File tree

1 file changed

+1
-44
lines changed

1 file changed

+1
-44
lines changed

mode/libraries/vr/build.gradle

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,49 +13,6 @@ dependencies {
1313
implementationAar "com.google.vr:sdk-base:${gvrVersion}"
1414
}
1515

16-
/*
17-
task createPom {
18-
pom {
19-
project {
20-
groupId "org.p5android"
21-
artifactId "processing-vr"
22-
version "${vrLibVersion}"
23-
packaging "jar"
24-
licenses {
25-
license {
26-
name "GNU Lesser General Public License, version 2.1"
27-
url "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt"
28-
distribution "repo"
29-
}
30-
}
31-
dependencies {
32-
dependency {
33-
groupId "org.p5android"
34-
artifactId "processing-core"
35-
version "${modeVersion}"
36-
scope "implementation"
37-
}
38-
39-
dependency {
40-
groupId "com.google.vr"
41-
artifactId "sdk-base"
42-
version "${gvrVersion}"
43-
scope "implementation"
44-
}
45-
dependency {
46-
groupId "com.google.vr"
47-
artifactId "sdk-audio"
48-
version "${gvrVersion}"
49-
scope "implementation"
50-
}
51-
}
52-
}
53-
}.writeTo("dist/processing-vr-${vrLibVersion}.pom")
54-
}
55-
56-
57-
*/
58-
5916
task sourceJar(type: Jar, dependsOn: classes) {
6017
classifier = "sources"
6118
from sourceSets.main.allSource
@@ -151,7 +108,7 @@ compileJava.doFirst {
151108

152109
build.doLast {
153110
// If xml doesn't exist
154-
def pomfile = file("${buildDir}/publications/corePublication/pom-default.xml")
111+
def pomfile = file("${buildDir}/publications/vrPublication/pom-default.xml")
155112
if (!pomfile.exists()) {
156113
println("************************************************************************************************\n" +
157114
"* *\n" +

0 commit comments

Comments
 (0)