You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This more of an open question in regards of the steps necessary to port the build system to gradle for a really simple terminal application written in swift.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':installDebug'.
> Could not resolve all task dependencies for configuration ':nativeRuntimeDebug'.
> Git repository at https://github.com/vapor/console-kit.git did not contain a project publishing the specified dependency.
Required by:
project :
I am not quite sure how to declare a source repository, but I think I followed the documentation :
// swift-tools-version:5.5// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
letpackage=Package(
name:"wifimon",
platforms:[.macOS(.v10_15)],
dependencies:[.package(url:"https://github.com/vapor/console-kit",.branch("main")),],
targets:[// Targets are the basic building blocks of a package. A target can define a module or a test suite.// Targets can depend on other targets in this package, and on products in packages this package depends on..executableTarget(
name:"wifimon",
dependencies:[.product(name:"ConsoleKit", package:"console-kit")]),.testTarget(
name:"wifimonTests",
dependencies:["wifimon"]),])
I tried to provide a build scan, but this fails for a reason I'm not able to determine or work around.
This build uses Gradle features that are incompatible with build scans (code: late-load-build-op).
The text was updated successfully, but these errors were encountered:
This more of an open question in regards of the steps necessary to port the build system to gradle for a really simple terminal application written in swift.
The original repository is https://github.com/attheodo/wifimon
Gradle 7.2
I created the two files
build.gradle.kts
And
settings.gradle.kts
However the build fails with the following error:
I am not quite sure how to declare a source repository, but I think I followed the documentation :
For reference the
Package.swift
looks like thishttps://github.com/attheodo/wifimon/blob/2362dc2256574ea2d1fb22c5c5e126c23623708d/Package.swift
I tried to provide a build scan, but this fails for a reason I'm not able to determine or work around.
The text was updated successfully, but these errors were encountered: