Fix duplicating native dependency
This commit is contained in:
parent
54274f0c0d
commit
e007ac9c7a
@ -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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user