Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
jitpack configuration for v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjosephmj committed Jun 16, 2021
1 parent 59747d1 commit 9848935
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 31 deletions.
Binary file removed aars/raccoon-1.0.0.aar
Binary file not shown.
Binary file removed aars/raccoon-1.0.1.aar
Binary file not shown.
Binary file removed aars/raccoon-1.0.2.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ object Dependencies {
const val gson = "2.9.0"
const val moshi = "1.12.0"
const val multiDex = "1.0.3"
const val raccoon = "1.0.0"
const val raccoon = "1.0.2"

}
6 changes: 1 addition & 5 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
jdk:
- openjdk11

install:
- FILE="-Dfile=aars/raccoon-1.0.2.aar"
- mvn install:install-file $FILE -DgroupId=com.github.iamjosephmj -DartifactId=raccoon -Dversion=1.0.2 -Dpackaging=aar -DgeneratePom=true
- openjdk11
12 changes: 0 additions & 12 deletions pom.xml

This file was deleted.

37 changes: 25 additions & 12 deletions raccoon/build.gradle.kts → raccoon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ plugins {
id("com.android.library")
id("kotlin-android")
id("kotlin-kapt")
`maven-publish`
id("maven-publish")
}

android {
compileSdk = 30
buildToolsVersion = "30.0.3"
compileSdk 30
buildToolsVersion "30.0.3"

defaultConfig {
minSdk = 21
targetSdk = 30
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
minSdk 21
targetSdk 30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
Expand All @@ -28,7 +28,7 @@ android {
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = "11"
}
}

Expand All @@ -46,14 +46,27 @@ dependencies {

}


afterEvaluate {
publishing {
publications {
create<MavenPublication>("raccoon") {
groupId = "com.github.iamjosephmj"
artifactId = "raccoon"
version = "1.0.2"
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release
// You can then customize attributes of the publication as shown below.
groupId = 'com.iamjosephmj.raccoon'
artifactId = 'release'
version = '1.0.3'
}
// Creates a Maven publication called “debug”.
debug(MavenPublication) {
// Applies the component for the debug build variant.
from components.debug
groupId = 'com.iamjosephmj.raccoon'
artifactId = 'release'
version = '1.0.3'
}
}
}
}
}
2 changes: 1 addition & 1 deletion raccoon/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.kts.
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
Expand Down

0 comments on commit 9848935

Please sign in to comment.