Skip to content

Commit

Permalink
jitpack upload issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomiwa-Ot committed Feb 25, 2024
1 parent 6ca2101 commit c9686a7
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation project(path: ':obd')
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11
36 changes: 35 additions & 1 deletion obd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@ plugins {
id 'com.android.library'
}

// Required plugin in library module for publishing
apply plugin: 'maven-publish'

final group = "com.github.Tomiwa-Ot"
final artifact = "obd"
final versionCode = 1
final versionName = "v1.2"

afterEvaluate {
publishing {
publications {
// 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 = group
artifactId = artifact
version = versionName
}

// Creates a Maven publication called “debug”.
debug(MavenPublication) {
// Applies the component for the debug build variant.
from components.debug

groupId = group + ".debug"
artifactId = artifact + "-debug"
version = versionName
}
}
}
}

android {
compileSdk 32

Expand Down Expand Up @@ -29,7 +64,6 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation fileTree(dir: 'C:\\Users\\ENVY 15\\AppData\\Local\\Android\\Sdk\\platforms\\android-32', include: ['*.aar', '*.jar'], exclude: [])
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down

0 comments on commit c9686a7

Please sign in to comment.