Skip to content

Commit

Permalink
gradle-codegen lib: SourceSetExecTask::forSourceSet automatically add…
Browse files Browse the repository at this point in the history
…s dependency on specified source set
  • Loading branch information
akolomentsev committed Apr 20, 2018
1 parent 49ac17b commit 83e4c7a
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group=com.satori
version=0.5.63-SNAPSHOT
version=0.5.64-SNAPSHOT

scaffoldingVersion=0.5.61-SNAPSHOT
scaffoldingVersion=0.5.63-SNAPSHOT

#nexusUsername=
#nexusPassword=
Expand Down
10 changes: 5 additions & 5 deletions libs/composition-drawer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript{
maven {url "https://oss.sonatype.org/content/repositories/snapshots"}
}
dependencies {
classpath "com.satori:satori-libs-composition-drawer:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-composition-drawer:0.5.64-SNAPSHOT"
}
}
apply plugin: "com.satori.composition.drawer"
Expand All @@ -43,7 +43,7 @@ buildscript{
maven { url "https://oss.sonatype.org/content/repositories/snapshots"}
}
dependencies {
classpath "com.satori:satori-libs-composition-drawer:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-composition-drawer:0.5.64-SNAPSHOT"
}
}
Expand Down Expand Up @@ -72,7 +72,7 @@ repositories {
configurations{compositionDrawer}
dependencies {
compositionDrawer "com.satori:satori-libs-composition-drawer:0.5.63-SNAPSHOT"
compositionDrawer "com.satori:satori-libs-composition-drawer:0.5.64-SNAPSHOT"
}
task generateCompositionDiagram(type: JavaExec) {
Expand Down Expand Up @@ -110,13 +110,13 @@ task generateCompositionDiagram(type: JavaExec) {
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-composition-drawer</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```


### Download
[satori-libs-composition-drawer.v0.5.63-SNAPSHOT.zip](https://github.com/satori-com/satori-composer/releases/download/v0.5.63-SNAPSHOT/satori-libs-composition-drawer.v0.5.63-SNAPSHOT.zip)<br/>
[satori-libs-composition-drawer.v0.5.64-SNAPSHOT.zip](https://github.com/satori-com/satori-composer/releases/download/v0.5.64-SNAPSHOT/satori-libs-composition-drawer.v0.5.64-SNAPSHOT.zip)<br/>
[or see latest releases](https://github.com/satori-com/satori-composer/releases/latest)

### Example of generated diagram
Expand Down
6 changes: 3 additions & 3 deletions libs/gradle/codegen/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-codegen.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-codegen/0.5.63-SNAPSHOT/)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-codegen.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-codegen/0.5.64-SNAPSHOT/)

## 'codegen' gradle plugin

Expand All @@ -13,7 +13,7 @@ buildscript{
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath "com.satori:satori-libs-gradle-codegen:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-gradle-codegen:0.5.64-SNAPSHOT"
}
}
apply plugin: "com.satori.codegen"
Expand Down Expand Up @@ -122,6 +122,6 @@ task generateGraphqlClasses {
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-gradle-codegen</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ open class SourceSetExecTask : JavaExec() {
}

fun forSourceSet(forSourceSet: SourceSet) {
dependsOn(project.tasks.getByName(forSourceSet.classesTaskName))
classpath = forSourceSet.runtimeClasspath
}

Expand Down
6 changes: 3 additions & 3 deletions libs/gradle/docker/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-docker.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-docker/0.5.63-SNAPSHOT/)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-docker.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-docker/0.5.64-SNAPSHOT/)

## Gradle plugin 'com.satori.transform'

Expand All @@ -14,7 +14,7 @@ buildscript{
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath "com.satori:satori-libs-gradle-docker:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-gradle-docker:0.5.64-SNAPSHOT"
}
}
apply plugin: "com.satori.docker"
Expand Down Expand Up @@ -146,6 +146,6 @@ stop docker container
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-gradle-docker</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```
6 changes: 3 additions & 3 deletions libs/gradle/github/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-github.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-github/0.5.63-SNAPSHOT/)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-github.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-github/0.5.64-SNAPSHOT/)
## 'github' gradle plugin
tasks for management github releases using [Github Releases API v3](https://developer.github.com/v3/repos/releases/)

Expand All @@ -10,7 +10,7 @@ buildscript{
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath "com.satori:satori-libs-gradle-github:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-gradle-github:0.5.64-SNAPSHOT"
}
}
apply plugin: "com.satori.github"
Expand Down Expand Up @@ -43,6 +43,6 @@ task githubPublishRelease(type: GitHubPublishReleaseTask) {
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-gradle-github</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```
6 changes: 3 additions & 3 deletions libs/gradle/transform/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-transform.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-transform/0.5.63-SNAPSHOT/)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-libs-gradle-transform.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-libs-gradle-transform/0.5.64-SNAPSHOT/)
## Gradle plugin 'com.satori.transform'

gradle task wrappers around groovy [GStringTemplateEngine](http://docs.groovy-lang.org/next/html/documentation/template-engines.html#_gstringtemplateengine)
Expand All @@ -12,7 +12,7 @@ buildscript{
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath "com.satori:satori-libs-gradle-docker:0.5.63-SNAPSHOT"
classpath "com.satori:satori-libs-gradle-docker:0.5.64-SNAPSHOT"
}
}
apply plugin: "com.satori.docker"
Expand Down Expand Up @@ -59,6 +59,6 @@ task generateReadme {
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-gradle-transform</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```
4 changes: 2 additions & 2 deletions libs/gtfs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ classes are generated based on [gtfs-realtime.proto](https://developers.google.c
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-libs-gtfs</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```


### Download
[satori-libs-gtfs.v0.5.63-SNAPSHOT.zip](https://github.com/satori-com/satori-composer/releases/download/v0.5.63-SNAPSHOT/satori-libs-gtfs.v0.5.63-SNAPSHOT.zip)<br/>
[satori-libs-gtfs.v0.5.64-SNAPSHOT.zip](https://github.com/satori-com/satori-composer/releases/download/v0.5.64-SNAPSHOT/satori-libs-gtfs.v0.5.64-SNAPSHOT.zip)<br/>
[or see latest releases](https://github.com/satori-com/satori-composer/releases/latest)

### Examples
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Satori Composer (preview)
[![Build Status](https://travis-ci.org/satori-com/satori-composer.svg?branch=dev)](https://travis-ci.org/satori-com/satori-composer)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-composer.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-composer/0.5.63-SNAPSHOT/)
[![Maven](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.satori/satori-composer.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/satori/satori-composer/0.5.64-SNAPSHOT/)

#### Example
![diagram](mods-examples/big-blue-bus/docs/files/diagram.png)
Expand Down Expand Up @@ -99,7 +99,7 @@
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-composer</artifactId>
<version>0.5.63-SNAPSHOT</version>
<version>0.5.64-SNAPSHOT</version>
</dependency>
```

Expand Down

0 comments on commit 83e4c7a

Please sign in to comment.