File tree Expand file tree Collapse file tree
extension/android/executorch_android Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 */
88
99
10- import com.vanniktech.maven.publish.SonatypeHost
11-
1210plugins {
1311 id " com.android.library" version " 8.9.0"
1412 id " com.vanniktech.maven.publish" version " 0.31.0"
@@ -26,7 +24,6 @@ spotless {
2624def qnnVersion = System . properties[' qnnVersion' ]
2725def execuTorchVersion = System . properties[' execuTorchVersion' ]
2826def flavor = System . properties[' flavor' ]
29- def isSnapshot = execuTorchVersion == null || execuTorchVersion. endsWith(" -SNAPSHOT" )
3027
3128android {
3229 namespace = " org.pytorch.executorch"
@@ -78,7 +75,7 @@ dependencies {
7875}
7976
8077mavenPublishing {
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+ }
You can’t perform that action at this time.
0 commit comments