Skip to content

Commit ed8e807

Browse files
committed
update gradle
1 parent 48741fe commit ed8e807

File tree

8 files changed

+70
-54
lines changed

8 files changed

+70
-54
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ allprojects {
5151
}
5252
}
5353
dependencies {
54-
implementation 'com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.1.6'
54+
implementation 'com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.1.7'
5555
}
5656
5757
```

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ android {
2222

2323
dependencies {
2424
implementation project(':rtplibrary')
25-
implementation 'com.google.android.material:material:1.4.0'
25+
implementation 'com.google.android.material:material:1.5.0'
2626
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
2727
}

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
buildscript {
44
ext.kotlin_version = '1.6.10'
55
ext.library_group = "com.github.pedroSG94"
6-
ext.version_code = 216
7-
ext.version_name = "2.1.6"
6+
ext.version_code = 217
7+
ext.version_name = "2.1.7"
88

99
repositories {
1010
google()
1111
mavenCentral()
1212
}
1313
dependencies {
14-
classpath 'com.android.tools.build:gradle:7.0.4'
14+
classpath 'com.android.tools.build:gradle:7.1.1'
1515
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1616
// NOTE: Do not place your application dependencies here; they belong
1717
// in the individual module build.gradle files

encoder/build.gradle

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@ android {
1717
}
1818
}
1919

20-
afterEvaluate {
21-
publishing {
22-
publications {
23-
// Creates a Maven publication called "release".
24-
release(MavenPublication) {
25-
// Applies the component for the release build variant.
26-
from components.release
20+
publishing {
21+
singleVariant("release")
22+
}
23+
}
24+
25+
afterEvaluate {
26+
publishing {
27+
publications {
28+
// Creates a Maven publication called "release".
29+
release(MavenPublication) {
30+
// Applies the component for the release build variant.
31+
from components.release
2732

28-
// You can then customize attributes of the publication as shown below.
29-
groupId = "$library_group"
30-
artifactId = "encoder"
31-
version = "$version_name"
32-
}
33+
// You can then customize attributes of the publication as shown below.
34+
groupId = "$library_group"
35+
artifactId = "encoder"
36+
version = "$version_name"
3337
}
3438
}
3539
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip

rtmp/build.gradle

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@ android {
1717
}
1818
}
1919

20-
afterEvaluate {
21-
publishing {
22-
publications {
23-
// Creates a Maven publication called "release".
24-
release(MavenPublication) {
25-
// Applies the component for the release build variant.
26-
from components.release
20+
publishing {
21+
singleVariant("release")
22+
}
23+
}
24+
25+
afterEvaluate {
26+
publishing {
27+
publications {
28+
// Creates a Maven publication called "release".
29+
release(MavenPublication) {
30+
// Applies the component for the release build variant.
31+
from components.release
2732

28-
// You can then customize attributes of the publication as shown below.
29-
groupId = "$library_group"
30-
artifactId = "rtmp"
31-
version = "$version_name"
32-
}
33+
// You can then customize attributes of the publication as shown below.
34+
groupId = "$library_group"
35+
artifactId = "rtmp"
36+
version = "$version_name"
3337
}
3438
}
3539
}

rtplibrary/build.gradle

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@ android {
1717
}
1818
}
1919

20-
afterEvaluate {
21-
publishing {
22-
publications {
23-
// Creates a Maven publication called "release".
24-
release(MavenPublication) {
25-
// Applies the component for the release build variant.
26-
from components.release
20+
publishing {
21+
singleVariant("release")
22+
}
23+
}
24+
25+
afterEvaluate {
26+
publishing {
27+
publications {
28+
// Creates a Maven publication called "release".
29+
release(MavenPublication) {
30+
// Applies the component for the release build variant.
31+
from components.release
2732

28-
// You can then customize attributes of the publication as shown below.
29-
groupId = "$library_group"
30-
artifactId = "rtplibrary"
31-
version = "$version_name"
32-
}
33+
// You can then customize attributes of the publication as shown below.
34+
groupId = "$library_group"
35+
artifactId = "rtplibrary"
36+
version = "$version_name"
3337
}
3438
}
3539
}

rtsp/build.gradle

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,23 @@ android {
2020
}
2121
}
2222

23-
afterEvaluate {
24-
publishing {
25-
publications {
26-
// Creates a Maven publication called "release".
27-
release(MavenPublication) {
28-
// Applies the component for the release build variant.
29-
from components.release
23+
publishing {
24+
singleVariant("release")
25+
}
26+
}
27+
28+
afterEvaluate {
29+
publishing {
30+
publications {
31+
// Creates a Maven publication called "release".
32+
release(MavenPublication) {
33+
// Applies the component for the release build variant.
34+
from components.release
3035

31-
// You can then customize attributes of the publication as shown below.
32-
groupId = "$library_group"
33-
artifactId = "rtsp"
34-
version = "$version_name"
35-
}
36+
// You can then customize attributes of the publication as shown below.
37+
groupId = "$library_group"
38+
artifactId = "rtsp"
39+
version = "$version_name"
3640
}
3741
}
3842
}

0 commit comments

Comments
 (0)