-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (36 loc) · 1.97 KB
/
Copy pathbuild.gradle
File metadata and controls
40 lines (36 loc) · 1.97 KB
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
35
36
37
38
39
40
plugins {
// Official Nextflow plugin toolchain. It resolves the Nextflow API (incl.
// 26.x, which Maven Central doesn't carry) from the Seqera Maven repo,
// provides pf4j/slf4j/test deps, and generates the plugin manifest +
// META-INF/extensions.idx — so the build can't drift from the Nextflow API
// it targets (the recurring cause of #3 / #7 / #9).
id 'io.nextflow.nextflow-plugin' version '1.0.0-beta.15'
}
group = 'io.nextflow'
version = '0.10.0'
nextflowPlugin {
// The Nextflow version this plugin is built against and tracks. Bump this
// (not a hand-edited manifest) to follow Nextflow releases.
nextflowVersion = '26.04.3'
provider = 'scttfrdmn'
className = 'io.nextflow.spawn.SpawnPlugin'
description = 'Nextflow executor plugin that runs tasks on ephemeral EC2 instances via spore-host/spawn'
// Generates META-INF/extensions.idx so Nextflow's ExecutorFactory discovers
// the executor (replaces the hand-maintained file from #7).
extensionPoints = [
'io.nextflow.spawn.SpawnExecutor',
'io.nextflow.spawn.SpawnPoolObserverFactory'
]
}
// SpawnCiHygieneTest reads CI config, so declare those files as test inputs (#80).
//
// Without this, Gradle's up-to-date check only considers Groovy sources: a commit
// that reverts an action pin or deletes dependabot.yml touches neither, so with a
// warm cache (CI restores one via gradle/actions/setup-gradle) `:test` is SKIPPED
// and the hygiene check silently never runs. Found by mutating the config and
// watching the suite report success — a gate that fails open is worse than none.
tasks.named('test') {
inputs.files(fileTree('.github')).withPropertyName('ciConfig').withPathSensitivity(PathSensitivity.RELATIVE)
inputs.file('build.gradle').withPropertyName('buildScript').withPathSensitivity(PathSensitivity.RELATIVE)
inputs.file('settings.gradle').withPropertyName('settingsScript').withPathSensitivity(PathSensitivity.RELATIVE)
}