Skip to content

Commit 6243ab3

Browse files
authored
Host executorch.aar file on jitpack (#40)
### Type of change - [x] Bug fix (non-breaking change which fixes an issue) ### Tested on - [ ] iOS - [x] Android ### Related issues #28 ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings
1 parent e91ce11 commit 6243ab3

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

android/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ buildscript {
55
repositories {
66
google()
77
mavenCentral()
8+
maven { url 'https://jitpack.io' }
89
}
910

1011
dependencies {
@@ -85,6 +86,7 @@ android {
8586
repositories {
8687
mavenCentral()
8788
google()
89+
maven { url 'https://jitpack.io' }
8890
}
8991

9092
def kotlin_version = getExtOrDefault("kotlinVersion")
@@ -95,6 +97,6 @@ dependencies {
9597
//noinspection GradleDynamicVersion
9698
implementation "com.facebook.react:react-native:+"
9799
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
98-
implementation(files("libs/executorch-llama.aar"))
100+
implementation 'com.github.software-mansion:react-native-executorch:main-SNAPSHOT'
99101
implementation("com.squareup.okhttp3:okhttp:4.9.2")
100102
}

jitpack.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
install:
2+
- FILE="-Dfile=third-party/android/libs/executorch.aar"
3+
- mvn install:install-file $FILE -DgroupId=com.software-mansion.executorch -DartifactId=repo -Dversion=0.1.2 -Dpackaging=aar -DgeneratePom=true

pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="iso-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5+
http://maven.apache.org/maven-v4_0_0.xsd">
6+
<modelVersion>4.0.0</modelVersion>
7+
<groupId>com.software-mansion.executorch</groupId>
8+
<artifactId>repo</artifactId>
9+
<version>0.1.2</version>
10+
</project>
File renamed without changes.

0 commit comments

Comments
 (0)