From 5d21ed1b53eb53a66d792ecc2e8f68bb64afb47c Mon Sep 17 00:00:00 2001 From: SireInsectus Date: Fri, 28 Feb 2014 12:32:59 -0800 Subject: [PATCH 1/2] Updates ignores to exclude IntelliJ project folder. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4ecac03..e3d805c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ state.ini .gradle build *.iml +.idea/ \ No newline at end of file From 422759a8c34da14eabe0472560560fde0b8e3d7d Mon Sep 17 00:00:00 2001 From: SireInsectus Date: Fri, 28 Feb 2014 12:33:57 -0800 Subject: [PATCH 2/2] Updated build.gradle to produce maven artifacts, Updated to for consistency with the other telegram-* projects. --- build.gradle | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 1c41aec..ea78745 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,5 @@ -def basicVersion = '1.0' - -if (project.hasProperty('buildIndex')) { - project.version = basicVersion + '.' + project.buildIndex -} else { - project.version = basicVersion + '-SNAPSHOT' -} - project.group = "org.telegram" +def basicVersion = '1.0' apply plugin: 'java' @@ -14,4 +7,12 @@ dependencies { compile project(':tl-core') compile project(':mtproto') compile files('libs/tl-api-v11.jar') -} \ No newline at end of file +} + +if (project.hasProperty('buildIndex')) { + project.version = basicVersion + '.' + project.buildIndex +} else { + project.version = basicVersion + '-SNAPSHOT' +} + +apply plugin: 'maven'