Skip to content

Commit b50bf35

Browse files
committed
Update maven plugin
1 parent da8af21 commit b50bf35

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

extension/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ allprojects {
1717

1818
dependencies {
1919
classpath 'com.android.tools.build:gradle:8.9.0'
20-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.31.0'
20+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.34.0'
2121
}
2222

2323
}

extension/android/executorch_android/build.gradle

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

99
plugins {
1010
id "com.android.library" version "8.9.0"
11-
id "com.vanniktech.maven.publish" version "0.31.0"
11+
id "com.vanniktech.maven.publish" version "0.34.0"
1212
alias(libs.plugins.jetbrains.kotlin.android)
1313
}
1414

@@ -50,21 +50,17 @@ dependencies {
5050
implementation libs.core.ktx
5151
testImplementation 'junit:junit:4.12'
5252
testImplementation 'org.assertj:assertj-core:3.27.2'
53-
testImplementation 'org.jetbrains.kotlin:kotlin-test:1.9.23'
5453
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
5554
androidTestImplementation 'androidx.test:rules:1.2.0'
5655
androidTestImplementation 'commons-io:commons-io:2.4'
5756
androidTestImplementation 'org.json:json:20250107'
58-
androidTestImplementation 'org.jetbrains.kotlin:kotlin-test:1.9.23'
5957
}
6058

61-
import com.vanniktech.maven.publish.SonatypeHost
62-
6359
mavenPublishing {
64-
publishToMavenCentral(SonatypeHost.DEFAULT)
60+
publishToMavenCentral()
6561
signAllPublications()
6662

67-
coordinates("org.pytorch", "executorch-android", "0.7.0")
63+
coordinates("org.pytorch", "executorch-android", "0.7.0-SNAPSHOT")
6864

6965
pom {
7066
name = "ExecuTorch Android"
@@ -96,6 +92,6 @@ mavenPublishing {
9692

9793
repositories {
9894
maven {
99-
url "https://oss.sonatype.org/content/repositories/snapshots"
95+
url "https://central.sonatype.com/repository/maven-snapshots/"
10096
}
10197
}

0 commit comments

Comments
 (0)