File tree Expand file tree Collapse file tree 8 files changed +31
-15
lines changed Expand file tree Collapse file tree 8 files changed +31
-15
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
24
24
- name : Checkout repo and clone to CI workspace
25
25
uses : actions/checkout@v3
26
26
27
- - name : Setup JDK 11
27
+ - name : Setup JDK 17
28
28
uses : actions/setup-java@v3
29
29
with :
30
- java-version : ' 11 '
30
+ java-version : ' 17 '
31
31
distribution : ' adopt'
32
32
cache : ' gradle'
33
33
Original file line number Diff line number Diff line change 52
52
mkdir $PWD/.kltrenv && echo "${{ secrets.SIGNING_KEY }}" > $PWD/.kltrenv/secring.gpg.b64
53
53
base64 -d $PWD/.kltrenv/secring.gpg.b64 > $PWD/.kltrenv/secring.gpg
54
54
55
+ - name : Setup JDK 17
56
+ uses : actions/setup-java@v3
57
+ with :
58
+ java-version : ' 17'
59
+ distribution : ' adopt'
60
+ cache : ' gradle'
61
+
55
62
- name : Run publish Script
56
63
run : |
57
64
RELEASE_TYPE=${RELEASE_TYPE} NEW_VERSION=${NEW_VERSION}
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ apply plugin: 'kotlin-android'
3
3
apply from : ' version.gradle'
4
4
5
5
android {
6
- compileSdkVersion 33
6
+ namespace ' com.kaltura.playkit.plugin.broadpeak'
7
+ compileSdk 34
7
8
compileOptions {
8
9
sourceCompatibility JavaVersion . VERSION_1_8
9
10
targetCompatibility JavaVersion . VERSION_1_8
@@ -13,11 +14,19 @@ android {
13
14
}
14
15
defaultConfig {
15
16
minSdkVersion 21
16
- targetSdkVersion 33
17
+ targetSdkVersion 34
17
18
versionName libVersion
18
19
buildConfigField(" String" ," VERSION_NAME" ," \" ${ libVersion} \" " )
19
20
}
20
-
21
+ buildFeatures {
22
+ buildConfig true
23
+ }
24
+ publishing {
25
+ publishing {
26
+ singleVariant(' release' ) {
27
+ }
28
+ }
29
+ }
21
30
buildTypes {
22
31
release {
23
32
minifyEnabled false
@@ -29,7 +38,7 @@ android {
29
38
dependencies {
30
39
31
40
// TODO: when tvplayer is released, replace this.
32
- api ' com.kaltura:kaltura-player-android:develop -SNAPSHOT'
41
+ api ' com.kaltura:kaltura-player-android:KUX-1761 -SNAPSHOT'
33
42
// api project(":tvplayer")
34
43
api ' tv.broadpeak.smartlib:smartlib-kaltura:04.07.01.4334a05'
35
44
}
Original file line number Diff line number Diff line change 1
1
apply plugin : ' maven-publish'
2
2
3
3
task androidSourcesJar (type : Jar ) {
4
- classifier ' sources'
4
+ archiveClassifier = ' sources'
5
5
from android. sourceSets. main. java. sourceFiles
6
6
}
7
7
8
8
project. afterEvaluate {
9
9
publishing {
10
10
publications {
11
11
mavenJava(MavenPublication ) {
12
- from components. release
12
+ from components. findByName( ' release' )
13
13
}
14
14
}
15
15
repositories {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ afterEvaluate { project ->
27
27
publishing {
28
28
publications {
29
29
mavenJava(MavenPublication ) {
30
- from components. release
30
+ from components. findByName( ' release' )
31
31
groupId = GROUP
32
32
artifactId = POM_ARTIFACT_ID
33
33
@@ -97,12 +97,12 @@ afterEvaluate { project ->
97
97
}
98
98
99
99
task androidJavadocsJar(type : Jar , dependsOn : androidJavadocs) {
100
- classifier ' javadoc'
100
+ archiveClassifier = ' javadoc'
101
101
from androidJavadocs. destinationDir
102
102
}
103
103
104
104
task androidSourcesJar(type : Jar ) {
105
- classifier ' sources'
105
+ archiveClassifier = ' sources'
106
106
from android. sourceSets. main. java. sourceFiles
107
107
}
108
108
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ buildscript {
15
15
maven { url " https://jitpack.io" }
16
16
}
17
17
dependencies {
18
- classpath ' com.android.tools.build:gradle:7.2.1 '
18
+ classpath ' com.android.tools.build:gradle:8.3.2 '
19
19
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
20
20
classpath ' io.github.gradle-nexus:publish-plugin:1.1.0'
21
21
// NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change 1
- # Wed Nov 04 13:47:59 EET 2020
1
+ # Thu Jul 11 16:22:33 IDT 2019
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -all.zip
Original file line number Diff line number Diff line change 1
1
jdk :
2
- - openjdk11
2
+ - openjdk17
3
3
before_install :
4
4
- curl https://kaltura.github.io/fe-tools/android/license.sh | sh
You can’t perform that action at this time.
0 commit comments