Skip to content

Commit

Permalink
Fix dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Chladek <[email protected]>
  • Loading branch information
TomasChladekSL committed Dec 12, 2024
1 parent e0886a3 commit 430020e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
25 changes: 1 addition & 24 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@ buildscript {
repositories {
mavenCentral()
google()

maven {
url = uri("$projectDir/gradle-plugin/obfuscation-director/repository")
}

maven {
url = uri("$projectDir/gradle-plugin/documentation-extractor/repository")
}
}

dependencies {
classpath(Dependencies.gradle)
classpath(Dependencies.gradleApi)
classpath(Dependencies.buildInfoExtractorGradle)
classpath(Dependencies.kotlin)
}
Expand All @@ -29,21 +20,7 @@ allprojects {
google()

maven {
setUrl(Configurations.Artifactory.repositoryURL)

/**
* Create a file gradle.properties in the GRADLE_USER_HOME directory.
* By default this is in the USER_HOME/.gradle directory.
* Insert following lines into gradle.properties:
* sl_artifactory_token = <token>
*/
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "Bearer ${project.findProperty("sl_artifactory_token")}"
}
authentication {
create<HttpHeaderAuthentication>("header")
}
setUrl("https://sdk.smartlook.com/android/release")
}
}
}
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/Configurations.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ object Configurations {

object Artifactory {
const val bareRepositoryURL = "https://artifactory.bare.appdynamics.com/artifactory/maven-releases/"
const val repositoryURL = "https://artifactory.ci.smartlook.cloud/artifactory/libs-release-local"
}

const val sdkVersionCode = 1
Expand Down

0 comments on commit 430020e

Please sign in to comment.