Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,27 @@ repositories {
}

dependencies {
api(name:'reveal-1.4.22-android12', ext:'aar')
//api 'com.stepleaderdigital.reveal:reveal:1.4.22'
// Changed from 'api' to 'compileOnly' to avoid invalid POM issues
compileOnly files('libs/reveal-1.4.22-android12.aar')
testImplementation files('libs/reveal-1.4.22-android12.aar')

// If ever published as a proper Maven artifact, you can switch to:
// api 'com.revealmobile:reveal:1.4.22'
}

// Remove invalid dependency blocks from the published POM
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
pom.withXml {
def dependenciesNode = asNode().get('dependencies')
dependenciesNode?.removeAll {
def groupId = it.getAt('groupId')[0]?.text()
return groupId == null || groupId.trim() == ''
}
}
}
}
}
}
Loading