Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryarnyah/querydsl-gradle-plugin
Port of QueryDSL maven plugin to Gradle
https://github.com/ryarnyah/querydsl-gradle-plugin
gradle-plugin kotlin querydsl querydsl-generator querydsl-jpa querydsl-maven-plugin querydsl-sql
Last synced: 15 days ago
JSON representation
Port of QueryDSL maven plugin to Gradle
- Host: GitHub
- URL: https://github.com/ryarnyah/querydsl-gradle-plugin
- Owner: ryarnyah
- License: apache-2.0
- Created: 2020-12-31T14:18:27.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T17:09:21.000Z (over 3 years ago)
- Last Synced: 2023-03-12T07:56:45.193Z (over 1 year ago)
- Topics: gradle-plugin, kotlin, querydsl, querydsl-generator, querydsl-jpa, querydsl-maven-plugin, querydsl-sql
- Language: Kotlin
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QueryDSL Gradle Plugin
Port of [QueryDSL](https://github.com/querydsl/querydsl) Maven plugin for Gradle.
## HowTo To use
```kotlin
plugins {
//...
id("com.github.ryarnyah.querydsl") version "0.0.3"
}tasks {
queryDslMetadataExport {
jdbcDriver = "org.h2.Driver"
jdbcUser = "sa"
jdbcPassword = ""
jdbcUrl = "jdbc:h2:./test;AUTO_SERVER=TRUE"
packageName = "com.example.querydsl"exportBeans = true
exportTables = true
}
}
```## Tasks supported
### queryDslMetadataExport
```kotlin
tasks {
queryDslMetadataExport {
jdbcDriver = "org.h2.Driver"
jdbcUser = "sa"
jdbcPassword = ""
jdbcUrl = "jdbc:h2:./test;AUTO_SERVER=TRUE"
packageName = "com.example.querydsl"exportBeans = true
exportTables = true
}
}
```
### queryDslJdoExport
```kotlin
tasks {
queryDslJdoExport {
packages = arrayOf("com.example.test")
}
}
```
### queryDslJpaExport
```kotlin
tasks {
queryDslJpaExport {
packages = arrayOf("com.example.test")
}
}
```
### queryDslGenericExport
```kotlin
tasks {
queryDslGenericExport {
packages = arrayOf("com.example.test")
}
}
```## Current status
- [X] Support metadata export
- [X] Experimental support for other export tasks