From f6c70b96323e1968132d987b5feb9e63fbce4d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=8B=B1=E5=BC=BA?= Date: Wed, 28 Jun 2017 10:50:55 +0800 Subject: [PATCH 1/2] init --- build.gradle | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 build.gradle diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..ff181d1 --- /dev/null +++ b/build.gradle @@ -0,0 +1,25 @@ +apply plugin: 'java' +apply plugin: 'eclipse' +apply plugin: 'maven' + +group = 'com.youbenzi' +sourceCompatibility = 1.7 +version = '1.0' +jar { + manifest { + attributes 'Implementation-Title': 'demo-project', + 'Implementation-Version': version + } +} + +repositories { + mavenCentral() +} + +dependencies { + testCompile group: 'junit', name: 'junit', version: '4.+' +} + +compileJava { + options.encoding = "UTF-8" +} -- Gitee From 914f571fdd06111f663bf19423e4d4d8eb006032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=8B=B1=E5=BC=BA?= Date: Wed, 28 Jun 2017 10:52:34 +0800 Subject: [PATCH 2/2] update .gitignore --- .gitignore | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c75717e --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +*.class + +# Package Files # +*.war +*.ear +.classpath +.project +.DS_Store +.settings/ +classes/ +icon/ +work/ +image/ +work/ +tmp/ +production/ +build/ +.gradle/ +bin/ -- Gitee