File tree Expand file tree Collapse file tree 11 files changed +14
-97
lines changed
utbot-instrumentation-tests Expand file tree Collapse file tree 11 files changed +14
-97
lines changed Original file line number Diff line number Diff line change @@ -16,27 +16,27 @@ 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 {
39
- options. compilerArgs << ' -Werror ' << ' - Xlint:all'
39
+ options. compilerArgs << ' -Xlint:all'
40
40
options. encoding = ' UTF-8'
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ if (osName == "mac") osName = "macosx"
9
9
String classifier = osName + " -x86_64"
10
10
11
11
evaluationDependsOn(' :utbot-framework' )
12
- compileKotlin. dependsOn project(' :utbot-instrumentation' ). tasks. jar
13
12
compileTestJava. dependsOn tasks. getByPath(' :utbot-framework:testClasses' )
14
13
15
14
dependencies {
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_1_8
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 @@ -3,6 +3,8 @@ plugins {
3
3
id ' java-library'
4
4
}
5
5
6
+ apply from : " ${ parent.projectDir} /gradle/include/jvm-project.gradle"
7
+
6
8
dependencies {
7
9
implementation group : ' org.jetbrains' , name : ' annotations' , version : ' 16.0.2'
8
10
implementation group : ' com.github.stephenc.findbugs' , name : ' findbugs-annotations' , version : ' 1.3.9-1'
@@ -24,15 +26,6 @@ dependencies {
24
26
testImplementation " org.mockito:mockito-inline:+"
25
27
}
26
28
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
29
test {
37
30
minHeapSize = " 128m"
38
31
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' )
@@ -23,10 +9,6 @@ dependencies {
23
9
implementation group : ' com.github.haifengl' , name : ' smile-core' , version : ' 2.6.0'
24
10
api project(' :utbot-fuzzers' )
25
11
implementation(project(' :utbot-instrumentation' ))
26
- api(project(' :utbot-instrumentation' ))
27
-
28
- implementation group : ' com.github.haifengl' , name : ' smile-kotlin' , version : ' 2.6.0'
29
- implementation group : ' com.github.haifengl' , name : ' smile-core' , version : ' 2.6.0'
30
12
31
13
implementation group : ' io.github.microutils' , name : ' kotlin-logging' , version : kotlin_logging_version
32
14
You can’t perform that action at this time.
0 commit comments