Skip to content

Commit

Permalink
[Andr][CI] Pom improvements (#103)
Browse files Browse the repository at this point in the history
* [ANDR][Tooling] Assorted improvements

* superfluous change to trigger gradle ci tests

* Cleanup

* undo
  • Loading branch information
murki authored Nov 6, 2024
1 parent c6c0741 commit 0d1a736
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
7 changes: 6 additions & 1 deletion bazel/pom_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,10 @@
<email>[email protected]</email>
<url>https://github.com/murki</url>
</developer>
</developers>
</developers>
<scm>
<connection>scm:git:git://github.com/bitdriftlabs/capture-sdk.git</connection>
<developerConnection>scm:git:ssh://[email protected]:bitdriftlabs/capture-sdk.git</developerConnection>
<url>https://github.com/bitdriftlabs/capture-sdk</url>
</scm>
</project>
4 changes: 2 additions & 2 deletions gradle/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1'
implementation 'androidx.navigation:navigation-ui-ktx:2.4.1'
implementation 'io.bitdrift:capture:0.12.0'
implementation 'io.bitdrift:capture-timber:0.12.0'
implementation 'io.bitdrift:capture:0.15.2'
implementation 'io.bitdrift:capture-timber:0.15.2'
implementation 'com.jakewharton.timber:timber:5.0.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
9 changes: 6 additions & 3 deletions gradle/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ dependencyResolutionManagement {

mavenLocal()

maven {
url "https://dl.bitdrift.io/sdk/android-maven"
}
maven {
url 'https://dl.bitdrift.io/sdk/android-maven'
content {
includeGroup 'io.bitdrift'
}
}
}
}
rootProject.name = "My Application"
Expand Down
11 changes: 11 additions & 0 deletions platform/jvm/capture-timber/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
// Publish
alias(libs.plugins.dokka) // Must be applied here for publish plugin.
alias(libs.plugins.maven.publish)
signing

id("dependency-license-config")
}
Expand Down Expand Up @@ -102,6 +103,11 @@ mavenPublishing {
url.set("https://github.com/murki")
email.set("[email protected]")
}
scm {
connection.set("scm:git:git://github.com/bitdriftlabs/capture-sdk.git")
developerConnection.set("scm:git:ssh://[email protected]:bitdriftlabs/capture-sdk.git")
url.set("https://github.com/bitdriftlabs/capture-sdk")
}
}
}
}
Expand All @@ -113,3 +119,8 @@ publishing {
}
}
}

// TODO(murki): Using this requires further setup in CI and local (e.g. signing entries in the local gradle.properties file)
signing {
sign(publishing.publications)
}

0 comments on commit 0d1a736

Please sign in to comment.