Merge pull request #31 from mipt-npm/dev

Fix duplicating native dependency
This commit is contained in:
Alexander Nozik 2021-10-11 14:41:52 +03:00 committed by GitHub
commit d911842922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
### Fixed
- remove `nativeMain` dependency from `nativeTest`
### Security

View File

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

View File

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