Skip to content

Commit

Permalink
fix: fixing Jitpack publish
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgsduarte committed Oct 21, 2024
1 parent c08680b commit 48bb673
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ dependencies {
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.ui.tooling.preview.android)
implementation(libs.androidx.runtime.android)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
Expand Down
11 changes: 4 additions & 7 deletions sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
id("com.google.devtools.ksp")
id("maven-publish")
id("maven-publish") apply true
}

group = "com.github.ditointernet"
Expand All @@ -28,11 +28,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}

publishing {
Expand Down Expand Up @@ -77,9 +77,6 @@ afterEvaluate {
publications {
create<MavenPublication>("release") {
from(components["release"])
groupId = "com.github.ditointernet"
artifactId = "sdk_mobile_android"
version = "2.1.1"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ dependencyResolutionManagement {
}

rootProject.name = "Android SDK"
include(":app")
include(":sdk")

0 comments on commit 48bb673

Please sign in to comment.