Skip to content

Commit 27f0cd7

Browse files
hunterstichdsn5ft
authored andcommitted
[Build] Moved component inclusion into afterEvaluation block
PiperOrigin-RevId: 739939685
1 parent a8d492c commit 27f0cd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: lib/build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ publishing {
156156

157157
publications {
158158
release(MavenPublication) {
159-
from components.findByName('release')
160159
artifact androidSourcesJar
161160
groupId = 'com.google.android.material'
162161
artifactId = 'material'
@@ -186,6 +185,10 @@ publishing {
186185
url = 'https://github.com/material-components/material-components-android'
187186
}
188187
}
188+
189+
afterEvaluate {
190+
from components.release
191+
}
189192
}
190193
}
191194
}

0 commit comments

Comments
 (0)