-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create module to allow using kotlin evaluator without importing rhino libraries * create module to contain jackson serialization
- Loading branch information
Showing
51 changed files
with
324 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dependencies { | ||
implementation project(":core") | ||
|
||
implementation("com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}") | ||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion}") | ||
|
||
testImplementation project(":tests") | ||
testImplementation project(":kotlin-evaluator") | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import kotlinx.kover.gradle.plugin.dsl.MetricType | ||
|
||
dependencies { | ||
api project(":core") | ||
|
||
testImplementation project(":tests") | ||
} | ||
|
||
koverReport { | ||
verify { | ||
rule { | ||
enabled = true | ||
bound { | ||
enabled = true | ||
metric = MetricType.BRANCH | ||
minValue = 70 | ||
} | ||
bound { | ||
enabled = true | ||
metric = MetricType.LINE | ||
minValue = 90 | ||
} | ||
bound { | ||
enabled = true | ||
metric = MetricType.INSTRUCTION | ||
minValue = 90 | ||
} | ||
} | ||
} | ||
|
||
defaults { | ||
html { | ||
onCheck = true | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
...r/src/test/kotlin/com/rapatao/projects/ruleset/engine/evaluator/kotlin/KotlinBenchmark.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.rapatao.projects.ruleset.engine.evaluator.kotlin | ||
|
||
import com.rapatao.projects.ruleset.engine.BaseEngineBenchmark | ||
|
||
fun main(args: Array<String>) { | ||
BaseEngineBenchmark(KotlinEvalEngine()).main(args) | ||
} |
5 changes: 5 additions & 0 deletions
5
.../test/kotlin/com/rapatao/projects/ruleset/engine/evaluator/kotlin/KotlinEvalEngineTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.rapatao.projects.ruleset.engine.evaluator.kotlin | ||
|
||
import com.rapatao.projects.ruleset.engine.BaseEvaluatorTest | ||
|
||
class KotlinEvalEngineTest : BaseEvaluatorTest(KotlinEvalEngine()) |
Oops, something went wrong.