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 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'