「Spring+Gradle」外部モジュール依存関係を設定するサンプル

設定サンプル

dependencies {

    compile group: 'org.springframework', name: 'spring-core', version: '5.2.6.RELEASE'
	
    compile group: 'org.jboss.logging', name: 'jboss-logging', version: '3.4.1.Final'
	
    compile group: 'org.hibernate', name: 'hibernate-core', version: '5.4.15.Final'
	
    testCompile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.13.2'
	
    providedCompile 'javax.servlet:javax.servlet-api:3.1.0'

}

 

SpringMVC

Posted by arkgame