change project to maven
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
group 'smartvenue'
|
||||
version '1.0.0'
|
||||
ext {
|
||||
springBootVersion = '1.5.7.RELEASE'
|
||||
}
|
||||
|
||||
|
||||
|
||||
apply plugin: 'java'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
buildscript {
|
||||
repositories {
|
||||
//mavenCentral()
|
||||
maven {
|
||||
url 'https://maven.aliyun.com/repository/public'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
repositories {
|
||||
//mavenCentral()
|
||||
maven {
|
||||
url 'https://maven.aliyun.com/repository/public'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
dependencies {
|
||||
compile fileTree(include: '*.jar', dir: 'src/libs')
|
||||
compile project(':entity')
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
|
||||
|
||||
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
26
service/pom.xml
Normal file
26
service/pom.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<parent>
|
||||
<groupId>smartvenue</groupId>
|
||||
<artifactId>smartvenue-parent</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>sv-service</artifactId>
|
||||
<version>${smartvenue.version}</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>smartvenue</groupId>
|
||||
<artifactId>sv-entity</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -18,7 +18,6 @@ import com.ydd.framework.core.entity.enums.StatusEnum;
|
||||
import com.ydd.framework.core.exception.ServiceException;
|
||||
import com.ydd.framework.core.service.impl.BaseServiceImpl;
|
||||
import org.apache.commons.lang3.time.DateFormatUtils;
|
||||
import org.apache.commons.lang3.time.DateUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
|
||||
Reference in New Issue
Block a user