Skip to content

Commit

Permalink
Adjusting config
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospontual committed Mar 19, 2024
1 parent f294e39 commit a760160
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
run: ./gradlew persistent-cookie-jar-okhttp:test

- name: Publish Library
run: ./gradlew --stacktrace -PnexusUserName=$NEXUS_USERID -PnexusUserPassword=$NEXUS_PASSWORD clean persistent-cookie-jar-okhttp:assembleRelease publish
run: ./gradlew --stacktrace -PnexusURL=$NEXUS_URL -PnexusUserName=$NEXUS_USERID -PnexusUserPassword=$NEXUS_PASSWORD clean persistent-cookie-jar-okhttp:assembleRelease publish
10 changes: 4 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
buildscript {
dependencies {
classpath(libs.plugins.androidAgp)
classpath(libs.plugins.kotlinGradle)
}
}
plugins {
alias(libs.plugins.androidLib) apply false
alias(libs.plugins.jetbrainsKotlinAndroid) apply false
}
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-cor

[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
androidLib = { id = "com.android.library", version.ref = "agp" }
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" }
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pluginManagement {

java.util.Properties().apply {
try {
File("${settingsDir.parent}/gradle.properties").reader().use { load(it) }
File("gradle.properties").reader().use { load(it) }
} catch (error: Exception) {
//do Nothing
}
Expand Down

0 comments on commit a760160

Please sign in to comment.