Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs-ios-and-android…
Browse files Browse the repository at this point in the history
…/571, branch 8_8_0
  • Loading branch information
Backend CI committed May 30, 2023
1 parent b5f2e4a commit e2fe7ca
Show file tree
Hide file tree
Showing 1,133 changed files with 146,955 additions and 0 deletions.
40 changes: 40 additions & 0 deletions KalturaClient/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apply plugin: 'com.android.library'
apply from: '../version.gradle'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31

defaultConfig {
minSdkVersion 17
targetSdkVersion 30
versionName kalturaClientVersion
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}

lintOptions {
abortOnError false
}
}

tasks.withType(Javadoc) {
options.addBooleanOption('Xdoclint:none', true)
}

dependencies {
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
}

apply from: './gradle-mvn-push.gradle'
61 changes: 61 additions & 0 deletions KalturaClient/gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'

task androidSourcesJar(type: Jar) {
classifier 'sources'
from android.sourceSets.main.java.sourceFiles
}

artifacts {
archives androidSourcesJar
}

afterEvaluate { project ->
publishing {
publications {
mavenJava(MavenPublication) {
groupId = GROUP
artifactId = POM_ARTIFACT_ID
VERSION_NAME = kalturaClientVersion
version = VERSION_NAME

from components.release
artifact androidSourcesJar

pom {
name = POM_NAME
packaging = POM_PACKAGING
description = POM_DESCRIPTION
url = POM_URL

licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
developers {
developer {
id = POM_DEVELOPER_ID
name = POM_DEVELOPER_NAME
}
}
scm {
url = POM_SCM_URL
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
}
}
}
}
}

signing {
allprojects { ext."signing.keyId" = rootProject.ext["signingKeyId"] }
allprojects { ext."signing.password" = rootProject.ext["signingPassword"] }
allprojects { ext."signing.secretKeyRingFile" = SECRING_PATH }
sign publishing.publications
}
}

20 changes: 20 additions & 0 deletions KalturaClient/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
POM_NAME=Kaltura Android Client Library
POM_ARTIFACT_ID=KalturaOttAndroidJavaClient
POM_PACKAGING=aar

VERSION_NAME=kalturaClientVersion

POM_DESCRIPTION=Kaltura OTT Android Java Client Library
POM_URL=https://github.com/kaltura/KalturaOttGeneratedAPIClientsAndroid/

POM_SCM_URL=https://github.com/kaltura/KalturaOttGeneratedAPIClientsAndroid/
POM_SCM_CONNECTION=scm:git@https://github.com/kaltura/KalturaOttGeneratedAPIClientsAndroid.git
POM_SCM_DEV_CONNECTION=scm:git@https://github.com/kaltura/KalturaOttGeneratedAPIClientsAndroid.git

POM_LICENCE_NAME=GNU Affero General Public License, Version 3.0
POM_LICENCE_URL=https://www.gnu.org/licenses/agpl-3.0.html
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=playkitdev
POM_DEVELOPER_NAME=Playkit Dev

SECRING_PATH=../.kltrenv/secring.gpg
20 changes: 20 additions & 0 deletions KalturaClient/proguard-project.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
5 changes: 5 additions & 0 deletions KalturaClient/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.kaltura.client">

<uses-permission android:name="android.permission.INTERNET"/>

</manifest>
Loading

0 comments on commit e2fe7ca

Please sign in to comment.