Skip to content

Commit 46b1782

Browse files
authored
Add custom maven target for unity (#2725)
1 parent 1707044 commit 46b1782

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,16 @@ subprojects {
160160
assignAarTypes()
161161
}
162162

163+
// this is needed for sentry-unity to consume our artifacts locally as proper maven publication
164+
configure<PublishingExtension> {
165+
repositories {
166+
maven {
167+
name = "unityMaven"
168+
url = file("${rootProject.buildDir}/unityMaven").toURI()
169+
}
170+
}
171+
}
172+
163173
// maven central info go to:
164174
// ~/.gradle/gradle.properties
165175

0 commit comments

Comments
 (0)