Skip to content

Commit

Permalink
remove some dependencies and publish lib test
Browse files Browse the repository at this point in the history
  • Loading branch information
theberdakh committed Jun 23, 2024
1 parent adcd31f commit 6f9944f
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions fromtouz/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import com.android.build.gradle.internal.utils.createPublishingInfoForLibrary

plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("maven-publish")
}

android {
Expand Down Expand Up @@ -30,19 +33,39 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}

publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}

}

dependencies {

implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("com.google.android.material:material:1.12.0")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")

implementation("com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.6")
implementation("com.squareup.retrofit2:retrofit:2.11.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")
}
}

publishing {
publications {
create("release", MavenPublication::class) {
groupId = "com.github.theberdakh"
artifactId = "From2"
version = "1.0.0"

afterEvaluate {
from(components["release"])
}
}
}
}


0 comments on commit 6f9944f

Please sign in to comment.