Skip to content

Commit e72f3f9

Browse files
committed
Revert "Snapshot upload"
This reverts commit cf116b7.
1 parent d167405 commit e72f3f9

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

extension/android/executorch_android/build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*/
88

99

10-
import com.vanniktech.maven.publish.SonatypeHost
11-
1210
plugins {
1311
id "com.android.library" version "8.9.0"
1412
id "com.vanniktech.maven.publish" version "0.31.0"
@@ -26,7 +24,6 @@ spotless {
2624
def qnnVersion = System.properties['qnnVersion']
2725
def execuTorchVersion = System.properties['execuTorchVersion']
2826
def flavor = System.properties['flavor']
29-
def isSnapshot = execuTorchVersion == null || execuTorchVersion.endsWith("-SNAPSHOT")
3027

3128
android {
3229
namespace = "org.pytorch.executorch"
@@ -78,7 +75,7 @@ dependencies {
7875
}
7976

8077
mavenPublishing {
81-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
78+
publishToMavenCentral()
8279
signAllPublications()
8380

8481
coordinates("org.pytorch", "executorch-android" + ((flavor && flavor != "xnnpack") ? "-" + flavor : ""), execuTorchVersion ? execuTorchVersion : "1.2.0-SNAPSHOT")
@@ -110,3 +107,9 @@ mavenPublishing {
110107
}
111108

112109
}
110+
111+
repositories {
112+
maven {
113+
url "https://central.sonatype.com/repository/maven-snapshots/"
114+
}
115+
}

0 commit comments

Comments
 (0)