Skip to content

Commit b1022a1

Browse files
committed
Change publication order
1 parent 5c7e474 commit b1022a1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

buildSrc/src/main/java/Publication.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@ val sep = File.separator
1313
fun DistributionContainer.configureForMultiplatform(project: Project) {
1414
val version = project.properties["versionName"].toString()
1515

16-
this.maybeCreate("android").contents {
17-
from("build${sep}publications${sep}androidRelease") {
18-
renameModule("android", version)
19-
}
20-
from("build${sep}outputs${sep}aar${sep}sentry-kotlin-multiplatform-release.aar") {
21-
rename {
22-
it.replace("-release", "-android-release")
23-
}
24-
}
25-
from("build${sep}libs") {
26-
include("*android*")
27-
withJavadoc("android")
28-
}
29-
}
3016
this.getByName("main").contents {
3117
from("build${sep}publications${sep}kotlinMultiplatform") {
3218
renameModule(version = version)
@@ -41,6 +27,20 @@ fun DistributionContainer.configureForMultiplatform(project: Project) {
4127
}
4228
}
4329
}
30+
this.maybeCreate("android").contents {
31+
from("build${sep}publications${sep}androidRelease") {
32+
renameModule("android", version)
33+
}
34+
from("build${sep}outputs${sep}aar${sep}sentry-kotlin-multiplatform-release.aar") {
35+
rename {
36+
it.replace("-release", "-android-release")
37+
}
38+
}
39+
from("build${sep}libs") {
40+
include("*android*")
41+
withJavadoc("android")
42+
}
43+
}
4444
this.maybeCreate("jvm").contents {
4545
from("build${sep}publications${sep}jvm") {
4646
renameModule("jvm", version)

0 commit comments

Comments
 (0)