Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:2+")
- }
- }
- apply plugin: 'java'
- apply plugin: 'eclipse'
- apply plugin: 'idea'
- apply plugin: 'org.springframework.boot'
- apply plugin: 'io.spring.dependency-management'
- bootJar {
- baseName = 'petmenu'
- version = '0.1.0'
- }
- repositories {
- mavenCentral()
- }
- sourceCompatibility = 11
- targetCompatibility = 11
- dependencies {
- compile("org.springframework.boot:spring-boot-starter-web")
- compile 'org.springframework.boot:spring-boot-starter-data-jpa'
- implementation 'org.mariadb.jdbc:mariadb-java-client'
- testCompile('org.springframework.boot:spring-boot-starter-test')
- compile("org.springframework.boot:spring-boot-starter-thymeleaf")
- annotationProcessor('org.hibernate:hibernate-jpamodelgen')
- }
- sourceSets.main.java.srcDirs += "${buildDir}/generated"
- compileJava {
- options.annotationProcessorGeneratedSourcesDirectory = file("${buildDir}/generated")
- }
Add Comment
Please, Sign In to add comment