Skip to content

Commit ce43ffb

Browse files
John Burnswakingrufus
authored andcommitted
test multiproject setup
1 parent 31713d6 commit ce43ffb

File tree

15 files changed

+61
-16
lines changed

15 files changed

+61
-16
lines changed

.github/workflows/nebula.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Nebula Build
22
on:
33
push:
44
branches:
5-
- '*'
5+
- 'main'
66
tags:
77
- v*.*.*
88
- v*.*.*-rc.*

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Nebula Nothing Plugin
22

33
![Support Status](https://img.shields.io/badge/nebula-active-green.svg)
4-
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com.netflix.nebula/gradle-nothing-plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/nebula.nothing-plugin)
5-
[![Maven Central](https://img.shields.io/maven-central/v/com.netflix.nebula/nebula-hollow-plugin)](https://maven-badges.herokuapp.com/maven-central/com.netflix.nebula/gradle-nothing-plugin)
64
![Build](https://github.com/nebula-plugins/gradle-nothing-plugin/actions/workflows/nebula.yml/badge.svg)
75
[![Apache 2.0](https://img.shields.io/github/license/nebula-plugins/gradle-nothing-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0)
86

7+
### Plugin
8+
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com.netflix.nebula/gradle-nothing-plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/nebula.nothing-plugin)
9+
[![Maven Central](https://img.shields.io/maven-central/v/com.netflix.nebula/nebula-hollow-plugin)](https://maven-badges.herokuapp.com/maven-central/com.netflix.nebula/gradle-nothing-plugin)
10+
11+
### Library
12+
[![Maven Central](https://img.shields.io/maven-central/v/com.netflix.nebula/nebula-hollow-plugin)](https://maven-badges.herokuapp.com/maven-central/com.netflix.nebula/nebula-nothing-library)
13+
14+
915
=====================
1016
Just does nothing. But does serve as a decent template for projects.
1117

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
plugins {
2+
id("com.netflix.nebula.root")
3+
}
4+
5+
dependencyLocking {
6+
lockAllConfigurations()
7+
}

build.gradle renamed to gradle-nothing-plugin/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
plugins {
2-
id 'com.netflix.nebula.plugin-plugin' version '22.0.2'
3-
id "com.netflix.nebula.maven-publish" version "19.2.0"
4-
id "com.netflix.nebula.ivy-publish" version "19.2.0"
5-
id 'com.netflix.nebula.java-cross-compile' version '8.0.0' // adds support for github actions JDK install location
2+
id 'com.netflix.nebula.plugin-plugin'
63
}
74

8-
95
description 'Gradle plugins to do nothing'
106

117
dependencies {
128
implementation 'com.google.guava:guava:28.+'
139
implementation 'commons-logging:commons-logging:latest.release'
1410
implementation 'org.apache.commons:commons-math3:3.6.1'
11+
testImplementation("org.spockframework:spock-junit4:2.3-groovy-4.0")
1512
}
1613

1714
gradlePlugin {
@@ -69,4 +66,4 @@ dependencyLocking {
6966
}
7067

7168
// for tests in this repo
72-
test.dependsOn('generateDescriptorFileForPluginIvyPublication', 'generatePomFileForNebulaPublication', 'generatePomFileForPluginMavenPublication')
69+
test.dependsOn('generatePomFileForNebulaPublication', 'generatePomFileForPluginMavenPublication')
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ com.google.guava:failureaccess:1.0.1=compileClasspath,integTestCompileClasspath,
88
com.google.guava:guava:28.2-jre=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
99
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1010
com.google.j2objc:j2objc-annotations:1.3=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
11-
com.netflix.nebula:nebula-test:11.0.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
11+
com.netflix.nebula:nebula-test:11.6.3=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
1212
commons-logging:commons-logging:1.3.5=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1313
junit:junit:4.13.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
14+
net.bytebuddy:byte-buddy:1.15.11=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
1415
org.apache.commons:commons-math3:3.6.1=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1516
org.apache.groovy:groovy:4.0.4=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
1617
org.apiguardian:apiguardian-api:1.1.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
18+
org.assertj:assertj-core:3.27.3=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
1719
org.checkerframework:checker-qual:2.10.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1820
org.hamcrest:hamcrest-core:1.3=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
1921
org.hamcrest:hamcrest:2.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
20-
org.junit.platform:junit-platform-commons:1.13.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
21-
org.junit.platform:junit-platform-engine:1.13.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
22-
org.junit.platform:junit-platform-launcher:1.13.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
22+
org.jspecify:jspecify:1.0.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
23+
org.junit.platform:junit-platform-commons:1.14.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
24+
org.junit.platform:junit-platform-engine:1.14.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
25+
org.junit.platform:junit-platform-launcher:1.14.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
2326
org.objenesis:objenesis:2.4=integTestRuntimeClasspath,testRuntimeClasspath
2427
org.opentest4j:opentest4j:1.3.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
2528
org.spockframework:spock-core:2.3-groovy-4.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath

src/main/groovy/nebula/plugin/nothing/MaybeNothingSettingsPlugin.groovy renamed to gradle-nothing-plugin/src/main/groovy/nebula/plugin/nothing/MaybeNothingSettingsPlugin.groovy

File renamed without changes.

src/main/groovy/nebula/plugin/nothing/MoreNothingPlugin.groovy renamed to gradle-nothing-plugin/src/main/groovy/nebula/plugin/nothing/MoreNothingPlugin.groovy

File renamed without changes.

src/main/groovy/nebula/plugin/nothing/NothingPlugin.groovy renamed to gradle-nothing-plugin/src/main/groovy/nebula/plugin/nothing/NothingPlugin.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package nebula.plugin.nothing
22

33
import com.google.common.collect.ImmutableList
44
import org.apache.commons.logging.impl.NoOpLog
5-
import org.gradle.api.NamedDomainObjectContainer
65
import org.gradle.api.Plugin
76
import org.gradle.api.Project
87
import org.gradle.api.logging.Logger

src/test/groovy/nebula/plugin/nothing/MoreNothingPluginSpec.groovy renamed to gradle-nothing-plugin/src/test/groovy/nebula/plugin/nothing/MoreNothingPluginSpec.groovy

File renamed without changes.

src/test/groovy/nebula/plugin/nothing/NothingPluginSpec.groovy renamed to gradle-nothing-plugin/src/test/groovy/nebula/plugin/nothing/NothingPluginSpec.groovy

File renamed without changes.

0 commit comments

Comments
 (0)