Skip to content

Commit 83750d3

Browse files
authored
Eliminate jitpack (#1211)
1 parent 59c7b09 commit 83750d3

File tree

10 files changed

+16
-17
lines changed

10 files changed

+16
-17
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ allprojects {
8181

8282
repositories {
8383
mavenCentral()
84-
maven("https://jitpack.io")
84+
maven("https://s01.oss.sonatype.org/content/repositories/orgunittestbotsoot-1004/")
8585
maven("https://plugins.gradle.org/m2")
8686
maven("https://www.jetbrains.com/intellij-repository/releases")
8787
maven("https://cache-redirector.jetbrains.com/maven-central")

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ junit4PlatformVersion=1.9.0
1818
mockitoVersion=3.5.13
1919
z3Version=4.8.9.1
2020
z3JavaApiVersion=4.8.9
21-
sootCommitHash=ed85c59
21+
sootVersion=4.4.0-FORK-2
2222
kotlinVersion=1.7.20
2323
log4j2Version=2.13.3
2424
coroutinesVersion=1.6.3

utbot-analytics/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies {
1414
testImplementation project(':utbot-sample')
1515
testImplementation group: 'junit', name: 'junit', version: junit4Version
1616

17-
implementation "com.github.UnitTestBot:soot:${sootCommitHash}"
17+
implementation "org.unittestbot.soot:soot-utbot-fork:${sootVersion}"
1818
implementation group: 'com.github.haifengl', name: 'smile-kotlin', version: '2.6.0'
1919
implementation group: 'com.github.haifengl', name: 'smile-plot', version: '2.6.0'
2020
implementation group: 'com.github.haifengl', name: 'smile-core', version: '2.6.0'

utbot-framework-api/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

33
val junit4Version: String by rootProject
4-
val sootCommitHash: String by rootProject
4+
val sootVersion: String by rootProject
55
val commonsLangVersion: String by rootProject
66
val kotlinLoggingVersion: String? by rootProject
77

@@ -15,7 +15,7 @@ dependencies {
1515
api(project(":utbot-rd"))
1616
implementation(group ="com.jetbrains.rd", name = "rd-framework", version = "2022.3.1")
1717
implementation(group ="com.jetbrains.rd", name = "rd-core", version = "2022.3.1")
18-
implementation("com.github.UnitTestBot:soot:${sootCommitHash}")
18+
implementation("org.unittestbot.soot:soot-utbot-fork:${sootVersion}")
1919
implementation(group = "io.github.microutils", name = "kotlin-logging", version = kotlinLoggingVersion)
2020
// TODO do we really need apache commons?
2121
implementation(group = "org.apache.commons", name = "commons-lang3", version = commonsLangVersion)

utbot-framework-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies {
3232
testImplementation project(":utbot-framework").sourceSets.test.output
3333
testImplementation project(":utbot-core").sourceSets.test.output
3434

35-
implementation "com.github.UnitTestBot:soot:${sootCommitHash}"
35+
implementation "org.unittestbot.soot:soot-utbot-fork:${sootVersion}"
3636

3737
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jacksonVersion
3838
implementation group: 'org.sosy-lab', name: 'javasmt-solver-z3', version: javasmtSolverZ3Version

utbot-framework/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
implementation group: 'com.jetbrains.rd', name: 'rd-framework', version: '2022.3.1'
2020
implementation group: 'com.jetbrains.rd', name: 'rd-core', version: '2022.3.1'
2121

22-
implementation "com.github.UnitTestBot:soot:${sootCommitHash}"
22+
implementation "org.unittestbot.soot:soot-utbot-fork:${sootVersion}"
2323
implementation group: 'com.esotericsoftware.kryo', name: 'kryo5', version: kryoVersion
2424
// this is necessary for serialization of some collections
2525
implementation group: 'de.javakaffee', name: 'kryo-serializers', version: kryoSerializersVersion

utbot-fuzzers/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22

3+
val sootVersion: String by rootProject
4+
val kotlinLoggingVersion: String by rootProject
5+
val rgxgenVersion: String by rootProject
6+
37
plugins {
48
id("com.github.johnrengelman.shadow") version "7.1.2"
59
}
@@ -11,14 +15,10 @@ tasks {
1115
}
1216
}
1317

14-
val sootCommitHash: String by rootProject
15-
val kotlinLoggingVersion: String by rootProject
16-
val rgxgenVersion: String by rootProject
17-
1818
dependencies {
1919
implementation(project(":utbot-framework-api"))
2020

21-
implementation("com.github.UnitTestBot:soot:${sootCommitHash}")
21+
implementation("org.unittestbot.soot:soot-utbot-fork:${sootVersion}")
2222
implementation(group = "io.github.microutils", name = "kotlin-logging", version = kotlinLoggingVersion)
2323
implementation(group = "com.github.curious-odd-man", name = "rgxgen", version = rgxgenVersion)
2424
}

utbot-intellij/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ val jacksonVersion: String? by rootProject
55
val ideType: String? by rootProject
66
val pythonCommunityPluginVersion: String? by rootProject
77
val pythonUltimatePluginVersion: String? by rootProject
8-
val sootCommitHash: String? by rootProject
8+
val sootVersion: String? by rootProject
99
val kryoVersion: String? by rootProject
1010
val semVer: String? by rootProject
1111
val androidStudioPath: String? by rootProject
@@ -82,7 +82,6 @@ tasks {
8282
}
8383

8484
dependencies {
85-
// implementation("com.github.UnitTestBot:soot:${sootCommitHash}")
8685
implementation(group ="com.jetbrains.rd", name = "rd-framework", version = "2022.3.1")
8786
implementation(group ="com.jetbrains.rd", name = "rd-core", version = "2022.3.1")
8887
implementation(group ="com.esotericsoftware.kryo", name = "kryo5", version = kryoVersion)

utbot-junit-contest/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies {
5252
implementation project(":utbot-framework")
5353
implementation project(":utbot-analytics")
5454

55-
implementation "com.github.UnitTestBot:soot:${sootCommitHash}"
55+
implementation "org.unittestbot.soot:soot-utbot-fork:${sootVersion}"
5656
implementation group: 'org.apache.commons', name: 'commons-exec', version: '1.2'
5757
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlinLoggingVersion
5858
implementation group: 'org.jsoup', name: 'jsoup', version: '1.6.2'

utbot-summary/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
val kotlinLoggingVersion: String by rootProject
22
val junit4Version: String by rootProject
33
val junit5Version: String by rootProject
4-
val sootCommitHash: String by rootProject
4+
val sootVersion: String by rootProject
55
val mockitoVersion: String by rootProject
66

77
dependencies {
88
implementation(project(":utbot-framework-api"))
9-
implementation("com.github.UnitTestBot:soot:${sootCommitHash}")
9+
implementation("org.unittestbot.soot:soot-utbot-fork:${sootVersion}")
1010
implementation(project(":utbot-fuzzers"))
1111
implementation(project(":utbot-instrumentation"))
1212
implementation(group = "com.github.haifengl", name = "smile-kotlin", version = "2.6.0")

0 commit comments

Comments
 (0)