Build config add mocktio to project in test

This commit is contained in:
YuCheng Hu 2019-09-17 00:56:48 -04:00
parent 14db3172dd
commit 7fdf458eca
1 changed files with 36 additions and 0 deletions

36
build.gradle Normal file
View File

@ -0,0 +1,36 @@
group 'com.ossez.demo'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'com.google.protobuf'
apply plugin: 'idea'
sourceCompatibility = 1.8
dependencies {
//log
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.2'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.0.9'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.0.9'
//test
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.28.2'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.5'
}
}
repositories {
maven {
url "https://maven.ossez.com/repository/internal"
}
}