打包版本号
parent
269d4e0267
commit
aeeeb61995
|
@ -12,12 +12,20 @@ repositories {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName = 'serverlogic'
|
||||
version = '1.0.0'
|
||||
manifest {
|
||||
attributes 'Main-Class': 'com.ljsd.GameApplication'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||
|
||||
compile project(":netty")
|
||||
compile project(":hotfix")
|
||||
compile project(":common")
|
||||
|
||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||
compile("org.javassist:javassist:3.18.2-GA")
|
||||
compile("org.springframework.boot:spring-boot:1.5.9.RELEASE")
|
||||
compile("org.springframework.boot:spring-boot-starter-test:1.5.9.RELEASE")
|
||||
|
@ -35,15 +43,6 @@ dependencies {
|
|||
compile files("${System.properties['java.home']}/../lib/tools.jar")
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName = 'serverlogic'
|
||||
version = '1.0.0'
|
||||
manifest {
|
||||
attributes 'Main-Class': 'com.ljsd.GameApplication'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//依赖编译,然后打包JAR
|
||||
task taskJar(type:Jar, dependsOn: compileJava) {
|
||||
from 'build/classes/main'
|
||||
|
|
Loading…
Reference in New Issue