File tree Expand file tree Collapse file tree 10 files changed +11
-91
lines changed
utbot-instrumentation-tests Expand file tree Collapse file tree 10 files changed +11
-91
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,23 @@ dependencies {
16
16
17
17
compileKotlin {
18
18
kotlinOptions {
19
- jvmTarget = JavaVersion . VERSION_11
19
+ jvmTarget = JavaVersion . VERSION_1_8
20
20
freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
21
21
allWarningsAsErrors = false
22
22
}
23
23
}
24
24
25
25
compileTestKotlin {
26
26
kotlinOptions {
27
- jvmTarget = JavaVersion . VERSION_11
27
+ jvmTarget = JavaVersion . VERSION_1_8
28
28
freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
29
29
allWarningsAsErrors = false
30
30
}
31
31
}
32
32
33
33
java {
34
- sourceCompatibility = JavaVersion . VERSION_11
35
- targetCompatibility = JavaVersion . VERSION_11
34
+ sourceCompatibility = JavaVersion . VERSION_1_8
35
+ targetCompatibility = JavaVersion . VERSION_1_8
36
36
}
37
37
38
38
compileJava {
Original file line number Diff line number Diff line change @@ -5,13 +5,6 @@ configurations {
5
5
fetchInstrumentationJar
6
6
}
7
7
8
- compileKotlin {
9
- dependsOn project(' :utbot-instrumentation' ). tasks. jar
10
- kotlinOptions {
11
- allWarningsAsErrors = false
12
- }
13
- }
14
-
15
8
dependencies {
16
9
api project(' :utbot-framework-api' )
17
10
implementation project(' :utbot-framework' )
Original file line number Diff line number Diff line change @@ -11,19 +11,6 @@ dependencies {
11
11
testImplementation group : ' junit' , name : ' junit' , version : junit4_version
12
12
}
13
13
14
- compileKotlin {
15
- kotlinOptions {
16
- jvmTarget = JavaVersion . VERSION_1_8
17
- freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
18
- allWarningsAsErrors = false
19
- }
20
- }
21
-
22
- java {
23
- sourceCompatibility = JavaVersion . VERSION_1_8
24
- targetCompatibility = JavaVersion . VERSION_1_8
25
- }
26
-
27
14
shadowJar {
28
15
configurations = [project. configurations. compileClasspath]
29
16
archiveClassifier. set(' ' )
Original file line number Diff line number Diff line change @@ -4,20 +4,6 @@ plugins {
4
4
5
5
apply from : " ${ parent.projectDir} /gradle/include/jvm-project.gradle"
6
6
7
- compileKotlin {
8
- dependsOn project(' :utbot-api' ). tasks. jar
9
- kotlinOptions {
10
- jvmTarget = JavaVersion . VERSION_1_8
11
- freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
12
- allWarningsAsErrors = false
13
- }
14
- }
15
-
16
- java {
17
- sourceCompatibility = JavaVersion . VERSION_1_8
18
- targetCompatibility = JavaVersion . VERSION_1_8
19
- }
20
-
21
7
dependencies {
22
8
api project(' :utbot-core' )
23
9
api project(' :utbot-api' )
Original file line number Diff line number Diff line change @@ -12,20 +12,6 @@ configurations {
12
12
z3native
13
13
}
14
14
15
- compileKotlin {
16
- dependsOn project(' :utbot-fuzzers' ). tasks. jar
17
- kotlinOptions {
18
- jvmTarget = JavaVersion . VERSION_1_8
19
- freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
20
- allWarningsAsErrors = false
21
- }
22
- }
23
-
24
- java {
25
- sourceCompatibility = JavaVersion . VERSION_1_8
26
- targetCompatibility = JavaVersion . VERSION_1_8
27
- }
28
-
29
15
dependencies {
30
16
31
17
api project(' :utbot-core' )
Original file line number Diff line number Diff line change 1
1
apply from : " ${ parent.projectDir} /gradle/include/jvm-project.gradle"
2
2
3
- compileTestJava. dependsOn project(' :utbot-instrumentation' ). tasks. jar
4
-
5
3
// noinspection GroovyAssignabilityCheck
6
4
configurations {
7
5
fetchInstrumentationJar
Original file line number Diff line number Diff line change @@ -15,20 +15,6 @@ dependencies {
15
15
implementation group : ' org.mockito' , name : ' mockito-inline' , version : ' 4.2.0'
16
16
}
17
17
18
- java {
19
- sourceCompatibility = JavaVersion . VERSION_1_8
20
- targetCompatibility = JavaVersion . VERSION_1_8
21
- }
22
-
23
- compileKotlin {
24
- dependsOn project(' :utbot-api' ). tasks. jar
25
- kotlinOptions {
26
- jvmTarget = JavaVersion . VERSION_1_8
27
- freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
28
- allWarningsAsErrors = false
29
- }
30
- }
31
-
32
18
jar {
33
19
duplicatesStrategy = DuplicatesStrategy . EXCLUDE
34
20
Original file line number Diff line number Diff line change @@ -2,10 +2,17 @@ apply from: "${parent.projectDir}/gradle/include/jvm-project.gradle"
2
2
3
3
compileKotlin {
4
4
kotlinOptions {
5
+ jvmTarget = JavaVersion . VERSION_11
6
+ freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
5
7
allWarningsAsErrors = false
6
8
}
7
9
}
8
10
11
+ java {
12
+ sourceCompatibility = JavaVersion . VERSION_11
13
+ targetCompatibility = JavaVersion . VERSION_11
14
+ }
15
+
9
16
buildscript {
10
17
repositories {
11
18
maven {
Original file line number Diff line number Diff line change @@ -24,15 +24,6 @@ dependencies {
24
24
testImplementation " org.mockito:mockito-inline:+"
25
25
}
26
26
27
- java {
28
- sourceCompatibility = JavaVersion . VERSION_1_8
29
- targetCompatibility = JavaVersion . VERSION_1_8
30
- }
31
-
32
- compileJava {
33
- dependsOn project(' :utbot-api' ). tasks. jar
34
- }
35
-
36
27
test {
37
28
minHeapSize = " 128m"
38
29
maxHeapSize = " 3072m"
Original file line number Diff line number Diff line change 1
1
apply from : " ${ parent.projectDir} /gradle/include/jvm-project.gradle"
2
2
3
- compileKotlin {
4
- dependsOn project(' :utbot-api' ). tasks. jar
5
- kotlinOptions {
6
- jvmTarget = JavaVersion . VERSION_1_8
7
- freeCompilerArgs + = [" -Xallow-result-return-type" , " -Xsam-conversions=class" ]
8
- allWarningsAsErrors = false
9
- }
10
- }
11
-
12
- java {
13
- sourceCompatibility = JavaVersion . VERSION_1_8
14
- targetCompatibility = JavaVersion . VERSION_1_8
15
- }
16
-
17
3
dependencies {
18
4
implementation " com.github.UnitTestBot:soot:${ soot_commit_hash} "
19
5
api project(' :utbot-framework-api' )
You can’t perform that action at this time.
0 commit comments