Skip to content

Commit 405ac83

Browse files
committed
Update
1 parent efdd8f2 commit 405ac83

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

extension/android/executorch_android/build.gradle

Lines changed: 37 additions & 1 deletion
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 "maven-publish"
11+
id "com.vanniktech.maven.publish" version "0.31.0"
1212
}
1313

1414
android {
@@ -31,3 +31,39 @@ dependencies {
3131
implementation 'com.facebook.fbjni:fbjni-java-only:0.5.1'
3232
implementation 'com.facebook.soloader:nativeloader:0.10.5'
3333
}
34+
35+
import com.vanniktech.maven.publish.SonatypeHost
36+
37+
mavenPublishing {
38+
publishToMavenCentral(SonatypeHost.DEFAULT)
39+
signAllPublications()
40+
41+
coordinates("org.pytorch", "executorch-android", "0.6.0-SNAPSHOT")
42+
43+
pom {
44+
name = "ExecuTorch Android"
45+
description = "ExecuTorch Android API"
46+
inceptionYear = "2025"
47+
url = "https://github.com/pytorch/executorch/"
48+
licenses {
49+
license {
50+
name = "BSD 3-Clause"
51+
url = "https://github.com/pytorch/executorch/blob/main/LICENSE"
52+
distribution = "https://github.com/pytorch/executorch/blob/main/LICENSE"
53+
}
54+
}
55+
developers {
56+
developer {
57+
id = "pytorch"
58+
name = "pytorch"
59+
url = "https://github.com/pytorch/executorch/"
60+
}
61+
}
62+
scm {
63+
url = "https://github.com/pytorch/executorch.git"
64+
connection = "scm:git:https://github.com/pytorch/executorch"
65+
developerConnection = "scm:git:[email protected]:pytorch/executorch.git"
66+
}
67+
}
68+
69+
}

extension/android/executorch_android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)