Skip to content

Commit bb3bc01

Browse files
disable vela and remove binrepo references from build.gradle.kts
1 parent b060b4f commit bb3bc01

File tree

2 files changed

+1
-90
lines changed

2 files changed

+1
-90
lines changed

.vela.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

build.gradle.kts

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
import groovy.lang.GroovyObject
21
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3-
import org.jfrog.gradle.plugin.artifactory.dsl.PublisherConfig
42

53
buildscript {
64
repositories {
75
mavenLocal()
86
mavenCentral()
9-
jcenter()
10-
maven { url = uri("https://binrepo.target.com/artifactory/TargetOSS") }
117
maven { url = uri("https://plugins.gradle.org/m2/") }
128
}
139
dependencies {
@@ -39,18 +35,7 @@ java.sourceCompatibility = JavaVersion.VERSION_11
3935

4036
repositories {
4137
mavenLocal()
42-
maven {
43-
url = uri("https://binrepo.target.com/artifactory/TargetOSS")
44-
metadataSources {
45-
artifact()
46-
}
47-
}
48-
maven { setUrl("https://binrepo.target.com/artifactory/maven-central") }
49-
maven { setUrl("https://binrepo.target.com/artifactory/platform") }
50-
maven { setUrl("https://binrepo.target.com/artifactory/jcenter") }
51-
maven { setUrl("https://binrepo.target.com/artifactory/gradle") }
52-
maven { setUrl("https://binrepo.target.com/artifactory/libs-release") }
53-
maven { setUrl("https://binrepo.target.com/artifactory/esv-deploy") }
38+
mavenCentral()
5439
}
5540

5641
dependencies {
@@ -96,26 +81,6 @@ publishing {
9681
}
9782
}
9883

99-
artifactory {
100-
setContextUrl("https://binrepo.target.com/artifactory")
101-
102-
publish(delegateClosureOf<PublisherConfig> {
103-
repository(delegateClosureOf<GroovyObject> {
104-
val targetRepoKey = "TargetOSS"
105-
val username = project.findProperty("artifactoryPublishRepositoryUsername") ?: ""
106-
val password = project.findProperty("artifactoryPublishRepositoryPassword") ?: ""
107-
setProperty("repoKey", targetRepoKey)
108-
setProperty("username", username)
109-
setProperty("password", password)
110-
setProperty("maven", true)
111-
})
112-
defaults(delegateClosureOf<GroovyObject> {
113-
invokeMethod("publications", "mavenJava")
114-
})
115-
})
116-
117-
}
118-
11984
jacoco {
12085
toolVersion = "0.8.7"
12186
}

0 commit comments

Comments
 (0)