Skip to content
Permalink
Browse files

1 - Apply GitHub's configuration

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
  • Loading branch information
msfjarvis committed Nov 21, 2019
1 parent b2acc37 commit d69235577a1d4345cecb364a3a3d366bf894c5a6
Showing with 19 additions and 0 deletions.
  1. +19 −0 library/build.gradle
@@ -1,5 +1,6 @@
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: "maven-publish"

apply from: "../dependencies.gradle"
// apply from: "../bintrayconfig.gradle"
@@ -28,6 +29,24 @@ android {
}
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/msfjarvis/github-packages-deployment-sample")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("PASSWORD")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}

dependencies {
api deps.support.app_compat
implementation deps.kotlin.stdlib8

0 comments on commit d692355

Please sign in to comment.
You can’t perform that action at this time.