Skip to content

Commit

Permalink
Adjust group / settings
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospontual committed Mar 19, 2024
1 parent 4353a1a commit f294e39
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 24 deletions.
10 changes: 6 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
plugins {
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.jetbrainsKotlinAndroid) apply false
}
buildscript {
dependencies {
classpath(libs.plugins.androidAgp)
classpath(libs.plugins.kotlinGradle)
}
}
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-cor

[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
androidAgp = { id = "com.android.tools.build:gradle", version.ref = "agp" }
kotlinGradle = { id = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
39 changes: 20 additions & 19 deletions persistent-cookie-jar-okhttp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
`maven-publish`
}

group = "com.andreuzaitsev.persistentcookiejar"
version = "1.0.0-alpha01-2024.03.18"
group = "tv.pluto.android.libs"
version = "1.0.2-alpha01-2024.03.18"

android {
namespace = "com.andreuzaitsev.persistentcookiejar"
Expand All @@ -29,6 +29,23 @@ android {
}
}


dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.datastore.preferences)
implementation(libs.material)
implementation(libs.okhttp)
testImplementation(libs.mockito)
testImplementation(libs.mockito.kotlin)
testImplementation(libs.robolectric)
testImplementation(libs.junit)
testImplementation(libs.androidx.test.core.ktx)
testImplementation(libs.kotlinx.coroutines.test)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}

afterEvaluate {
publishing {
// These values are provided by the CI environment, args are retrieved from the command line.
Expand All @@ -48,7 +65,7 @@ afterEvaluate {
publications.withType<MavenPublication> {
// Provide artifacts information requited by Maven Central
pom {
name.set("persistent-cookie-jar-okhttp Library")
name.set("Custom persistent-cookie-jar-okhttp Library")
description.set(
"Custom version of persistent-cookie-jar-okhttp Library"
)
Expand All @@ -68,19 +85,3 @@ afterEvaluate {
}
}
}

dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.datastore.preferences)
implementation(libs.material)
implementation(libs.okhttp)
testImplementation(libs.mockito)
testImplementation(libs.mockito.kotlin)
testImplementation(libs.robolectric)
testImplementation(libs.junit)
testImplementation(libs.androidx.test.core.ktx)
testImplementation(libs.kotlinx.coroutines.test)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}

0 comments on commit f294e39

Please sign in to comment.