|
8 | 8 |
|
9 | 9 | plugins { |
10 | 10 | 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" |
12 | 12 | alias(libs.plugins.jetbrains.kotlin.android) |
13 | 13 | } |
14 | 14 |
|
@@ -50,21 +50,17 @@ dependencies { |
50 | 50 | implementation libs.core.ktx |
51 | 51 | testImplementation 'junit:junit:4.12' |
52 | 52 | testImplementation 'org.assertj:assertj-core:3.27.2' |
53 | | - testImplementation 'org.jetbrains.kotlin:kotlin-test:1.9.23' |
54 | 53 | androidTestImplementation 'androidx.test.ext:junit:1.1.5' |
55 | 54 | androidTestImplementation 'androidx.test:rules:1.2.0' |
56 | 55 | androidTestImplementation 'commons-io:commons-io:2.4' |
57 | 56 | androidTestImplementation 'org.json:json:20250107' |
58 | | - androidTestImplementation 'org.jetbrains.kotlin:kotlin-test:1.9.23' |
59 | 57 | } |
60 | 58 |
|
61 | | -import com.vanniktech.maven.publish.SonatypeHost |
62 | | - |
63 | 59 | mavenPublishing { |
64 | | - publishToMavenCentral(SonatypeHost.DEFAULT) |
| 60 | + publishToMavenCentral() |
65 | 61 | signAllPublications() |
66 | 62 |
|
67 | | - coordinates("org.pytorch", "executorch-android", "0.7.0") |
| 63 | + coordinates("org.pytorch", "executorch-android", "0.7.0-SNAPSHOT") |
68 | 64 |
|
69 | 65 | pom { |
70 | 66 | name = "ExecuTorch Android" |
@@ -96,6 +92,6 @@ mavenPublishing { |
96 | 92 |
|
97 | 93 | repositories { |
98 | 94 | maven { |
99 | | - url "https://oss.sonatype.org/content/repositories/snapshots" |
| 95 | + url "https://central.sonatype.com/repository/maven-snapshots/" |
100 | 96 | } |
101 | 97 | } |
0 commit comments