Port of QueryDSL Maven plugin for Gradle.
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 {
queryDslMetadataExport {
jdbcDriver = "org.h2.Driver"
jdbcUser = "sa"
jdbcPassword = ""
jdbcUrl = "jdbc:h2:./test;AUTO_SERVER=TRUE"
packageName = "com.example.querydsl"
exportBeans = true
exportTables = true
}
}
tasks {
queryDslJdoExport {
packages = arrayOf("com.example.test")
}
}
tasks {
queryDslJpaExport {
packages = arrayOf("com.example.test")
}
}
tasks {
queryDslGenericExport {
packages = arrayOf("com.example.test")
}
}
- Support metadata export
- Experimental support for other export tasks