diff --git a/.gitignore b/.gitignore index c069c83..b578b15 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build *.iml .gradle +.idea/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index caac0f0..8c73d5f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,12 @@ project.group = "org.telegram" - def basicVersion = '1.0' + +apply plugin: 'java' + if (project.hasProperty('buildIndex')) { project.version = basicVersion + '.' + project.buildIndex } else { project.version = basicVersion + '-SNAPSHOT' } -apply plugin: 'java' apply plugin: 'maven' \ No newline at end of file