Skip to content

Commit 1472a94

Browse files
author
ntwigg
committed
spotlessApply
1 parent 0841bd5 commit 1472a94

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- [node](#node) - hassle-free `npm install` and `npm run blah`
44
- [static server](#static-server) - a simple static file server
55
- [jte](#jte) - creates idiomatic Kotlin model classes for `jte` templates (strict nullability & idiomatic collections and generics)
6-
- [flywayjooq](#flywayjooq) - coordinates docker, flyway, and jOOQ for fast testing
6+
- [flywayjooq](#flywayjooq) - coordinates docker, flyway, and jOOQ for fast testing
77

88
## Node
99

@@ -74,17 +74,17 @@ Compile tasks just need to depend on the `jooq` task. It will keep a live databa
7474

7575
```gradle
7676
flywayJooq {
77-
// starts this docker container which needs to have postgres
78-
setup.dockerComposeFile = file('src/test/resources/docker-compose.yml')
79-
// writes out connection data to this file
80-
setup.dockerConnectionParams = file('build/pgConnection.properties')
81-
// migrates a template database to this
82-
setup.flywayMigrations = file('src/main/resources/db/migration')
83-
// dumps the final schema out to this
84-
setup.flywaySchemaDump = file('src/test/resources/schema.sql')
85-
// sets up jOOQ
86-
configuration {
87-
// jOOQ setup same as the official jOOQ plugin
88-
}
77+
// starts this docker container which needs to have postgres
78+
setup.dockerComposeFile = file('src/test/resources/docker-compose.yml')
79+
// writes out connection data to this file
80+
setup.dockerConnectionParams = file('build/pgConnection.properties')
81+
// migrates a template database to this
82+
setup.flywayMigrations = file('src/main/resources/db/migration')
83+
// dumps the final schema out to this
84+
setup.flywaySchemaDump = file('src/test/resources/schema.sql')
85+
// sets up jOOQ
86+
configuration {
87+
// jOOQ setup same as the official jOOQ plugin
88+
}
8989
}
90-
```
90+
```

src/main/java/com/diffplug/webtools/node/NodePlugin.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ public Extension(Project project) {
5050
this.project = Objects.requireNonNull(project);
5151
}
5252

53-
public boolean envIsHerokuBuild() {
54-
return Env.isHerokuBuild();
55-
}
53+
public boolean envIsHerokuBuild() {
54+
return Env.isHerokuBuild();
55+
}
5656

57-
public boolean envIsGitHubAction() {
58-
return Env.isGitHubAction();
59-
}
57+
public boolean envIsGitHubAction() {
58+
return Env.isGitHubAction();
59+
}
6060

6161
public TaskProvider<?> npm_run(String name, Action<NpmRunTask> taskConfig) {
6262
return project.getTasks().register("npm_run_" + name.replace(':', '-'), NpmRunTask.class, task -> {

0 commit comments

Comments
 (0)