Skip to content

Commit

Permalink
chore: add jitpack configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiljainlive committed Oct 23, 2023
1 parent f4053de commit 5baf23d
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
15 changes: 15 additions & 0 deletions blockiesgenerator/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("com.android.library")
id("maven-publish")
id("org.jetbrains.kotlin.android")
}

Expand Down Expand Up @@ -37,4 +38,18 @@ dependencies {
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}

afterEvaluate {
publishing {
publications {
register("mavenJava", MavenPublication::class) {
groupId = "com.github.nikhiljainlive.blockies_android"
artifactId = "blockiesgenerator"
version = "v0.1.2"

from(components["release"])
}
}
}
}
15 changes: 15 additions & 0 deletions blockiesglide/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("com.android.library")
id("maven-publish")
id("org.jetbrains.kotlin.android")
id("kotlin-kapt")
}
Expand Down Expand Up @@ -45,4 +46,18 @@ dependencies {
// glide
implementation("com.github.bumptech.glide:glide:4.16.0")
kapt("com.github.bumptech.glide:compiler:4.16.0")
}

afterEvaluate {
publishing {
publications {
register("mavenJava", MavenPublication::class) {
groupId = "com.github.nikhiljainlive.blockies_android"
artifactId = "blockiesglide"
version = "v0.1.2"

from(components["release"])
}
}
}
}
15 changes: 15 additions & 0 deletions blockiesview/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("com.android.library")
id("maven-publish")
id("org.jetbrains.kotlin.android")
}

Expand Down Expand Up @@ -38,4 +39,18 @@ dependencies {
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}

afterEvaluate {
publishing {
publications {
register("mavenJava", MavenPublication::class) {
groupId = "com.github.nikhiljainlive.blockies_android"
artifactId = "blockiesview"
version = "v0.1.2"

from(components["release"])
}
}
}
}
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk17
before_install:
- sdk install java 17.0.3-tem
- sdk use java 17.0.3-tem
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}

Expand Down

0 comments on commit 5baf23d

Please sign in to comment.