-
Notifications
You must be signed in to change notification settings - Fork 9
/
Package.swift
34 lines (27 loc) · 1.32 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Elasticsearch",
products: [
.library(name: "Elasticsearch", targets: ["Elasticsearch"])
],
dependencies: [
// Core extensions, type-aliases, and functions that facilitate common tasks.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
// Crypto goodies
.package(url: "https://github.com/vapor/crypto.git", from: "3.2.0"),
// Core services for creating database integrations.
.package(url: "https://github.com/vapor/database-kit.git", from: "1.0.0"),
// Event-driven network application framework for high performance protocol servers & clients, non-blocking.
.package(url: "https://github.com/apple/swift-nio.git", from: "1.0.0"),
// Grab the HTTP goodies from Vapor
.package(url: "https://github.com/vapor/http.git", from: "3.0.0"),
// Grab Vapor itself for testing
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
],
targets: [
.target( name: "Elasticsearch", dependencies: ["Crypto", "Async", "Bits", "DatabaseKit", "Debugging", "NIO", "COperatingSystem", "HTTP"]),
.testTarget( name: "ElasticsearchTests", dependencies: ["Elasticsearch", "Vapor"])
]
)