Fix duplicating native dependency #31

Merged
altavir merged 1 commits from dev into master 2021-10-11 14:41:52 +03:00
3 changed files with 3 additions and 2 deletions
Showing only changes of commit e007ac9c7a - Show all commits

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)
} }