Skip to content

Commit 95154b8

Browse files
fix: Removed findByName
1 parent 2edaa8d commit 95154b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

NewRelicVideoCore/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ plugins {
22
id 'com.android.library'
33
id 'maven-publish'
44
}
5-
65
android {
76
compileSdkVersion 33
8-
97
defaultConfig {
108
minSdkVersion 16
119
targetSdkVersion 33
@@ -38,20 +36,18 @@ android {
3836
}
3937

4038
dependencies {
41-
4239
implementation 'androidx.appcompat:appcompat:1.1.0'
4340
implementation 'com.google.android.material:material:1.1.0'
4441
implementation 'com.newrelic.agent.android:android-agent:7.0.0'
4542
testImplementation 'junit:junit:4.+'
4643
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
4744
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
4845
}
49-
5046
afterEvaluate {
5147
publishing {
5248
publications {
5349
release(MavenPublication) {
54-
from components.findByName('release')
50+
from components.release
5551
groupId = 'com.github.newrelic'
5652
artifactId = 'NewRelicVideoCore'
5753
version = "${android.defaultConfig.versionName}"

0 commit comments

Comments
 (0)