-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generated by Jenkins job OTT-Generate-ClientLibs-ios-and-android…
…/510, branch 8_0_0
- Loading branch information
Backend CI
committed
Sep 5, 2022
1 parent
dcf3d0a
commit f547b05
Showing
8 changed files
with
150 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,46 @@ | ||
apply plugin: 'io.github.gradle-nexus.publish-plugin' | ||
|
||
ext["nexusUserName"] = System.getenv('NEXUS_USERNAME') | ||
ext["nexusPassword"] = System.getenv('NEXUS_PASSWORD') | ||
ext["signingKeyId"] = System.getenv('SIGNING_KEYID') | ||
ext["signingPassword"] = System.getenv('SIGNING_PASSWORD') | ||
ext["GROUP"] = 'com.kaltura' | ||
|
||
|
||
buildscript { | ||
ext.kotlin_version = '1.5.20' | ||
repositories { | ||
jcenter() | ||
google() | ||
mavenCentral() | ||
maven { url 'https://jitpack.io' } | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:3.4.1' | ||
classpath 'com.novoda:bintray-release:0.9' | ||
classpath 'com.android.tools.build:gradle:7.0.3' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
google() | ||
mavenCentral() | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} | ||
|
||
nexusPublishing { | ||
repositories { | ||
sonaType { | ||
nexusUrl.set(uri("https://oss.sonatype.org/service/local/")) | ||
snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots/")) | ||
packageGroup = GROUP | ||
username = nexusUserName | ||
password = nexusPassword | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Project-wide Gradle settings. | ||
|
||
# IDE (e.g. Android Studio) users: | ||
# Gradle settings configured through the IDE *will override* | ||
# any settings specified in this file. | ||
|
||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
|
||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
org.gradle.jvmargs=-Xmx1536m | ||
|
||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. More details, visit | ||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
# org.gradle.parallel=true | ||
android.useAndroidX=true | ||
android.enableJetifier=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters