build.gradle 811 B

1234567891011121314151617181920212223242526272829303132
  1. plugins {
  2. id 'java'
  3. //添加application插件用于通过gradle运行Java程序,通过run命令运行
  4. id 'application'
  5. }
  6. application{
  7. //指定main方法所在的类
  8. mainClass = 'space.anyi.CompanyApplication'
  9. }
  10. group 'space.anyi'
  11. version '1.0-SNAPSHOT'
  12. repositories {
  13. mavenCentral()
  14. }
  15. dependencies {
  16. //可以全都使用,也可以按需使用
  17. //服务提供,使用中国移动的网络服务
  18. implementation(project(":simple-isp-moblie"))
  19. //服务提供,使用中国联通的网络服务
  20. implementation(project(":simple-isp-unicom"))
  21. //接口依赖
  22. implementation(project(":simple-api"))
  23. testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
  24. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
  25. }
  26. test {
  27. useJUnitPlatform()
  28. }