Fix duplicating native dependency

This commit is contained in:
Alexander Nozik 2021-10-11 14:25:02 +03:00
parent 54274f0c0d
commit e007ac9c7a
3 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed ### Removed
### Fixed ### Fixed
- remove `nativeMain` dependency from `nativeTest`
### Security ### Security

View File

@ -1,5 +1,5 @@
[versions] [versions]
tools = "0.10.4" tools = "0.10.5"
kotlin = "1.6.0-M1" kotlin = "1.6.0-M1"
atomicfu = "0.16.2" atomicfu = "0.16.2"
binary-compatibility-validator = "0.7.1" binary-compatibility-validator = "0.7.1"

View File

@ -34,7 +34,7 @@ public class KScienceNativePlugin : Plugin<Project> {
} }
val nativeTest by creating { val nativeTest by creating {
dependsOn(nativeMain) //should NOT depend on nativeMain because automatic dependency by plugin
dependsOn(commonTest) dependsOn(commonTest)
} }