Skip to content

Commit

Permalink
Merge pull request #11 from kinescope/feature/maven
Browse files Browse the repository at this point in the history
Maven repository
  • Loading branch information
pavel-vorobyev authored Apr 1, 2024
2 parents 8a6335a + fa23df0 commit c00863c
Show file tree
Hide file tree
Showing 87 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ android {
}

dependencies {
implementation project(path: ':kotlin-kinescope-player')
//implementation project (path: ':io.kinescope.sdk')
implementation project(path: ':Kinescope Player SDK')
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
Expand Down
10 changes: 10 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
jdk:
- openjdk17
before_install:
- ./scripts/prepareJitpackEnvironment.sh
install:
- FILE="-Dfile=kotlin-kinescope-player-release.aar"
- GROUP_ID="-DgroupId=com.github.kinescope"
- ARTIFACT_ID="-DartifactId=kotlin-kinescope-player"
- VERSION="-Dversion=0.0.1"
- mvn install:install-file $FILE $GROUP_ID $ARTIFACT_ID $VERSION -Dpackaging=aar -DgeneratePom=true
Binary file added kotlin-kinescope-player-release.aar
Binary file not shown.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"

versionName "0.2.0"
versionName "0.0.1"
}

buildTypes {
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.kinescope</groupId>
<artifactId>kotlin-kinescope-player</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
</project>
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencyResolutionManagement {
}
rootProject.name = "Kinescope SDK Demo"
include ':app'
include ':Kinescope Player SDK'
include ':kotlin-kinescope-player'

0 comments on commit c00863c

Please sign in to comment.