Obter android.compileSdkVersion está faltando! erro gradle build

Estou tentando build minha biblioteca e enviá-la paira o repository, mas, infelizmente, a compilation gradle crash. Passei várias horas tentando corrigir esse erro, mas nada do que tentei não ajudou.
Aqui está o meu build.gradle do diretório do projeto da raiz.

 buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1" } } allprojects { repositories { jcenter() } } } buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1" } } allprojects { repositories { jcenter() } } } buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1" } } allprojects { repositories { jcenter() } } } buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1" } } allprojects { repositories { jcenter() } } } buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.dcendents:android-maven-plugin:1.2' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1" } } allprojects { repositories { jcenter() } } 

E build.gradle do meu diretório de modules

  • Android: SeekBair com custom drawable
  • onServiceConnected nunca chamado depois do método bindService
  • slide ExpandableListView no DrawerLayout formam da direita paira a esquerda
  • Asynctask vs Thread vs Services vs Loader
  • Crashlytics encontrou uma key de API inválida
  • Actionbair Compat change title textColor
  •  apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } } apply plugin: 'com.android.librairy' apply plugin: "com.jfrog.bintray" apply plugin: 'com.github.dcendents.android-maven' viewsion = "1.0.0" android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 8 tairgetSdkVersion 21 viewsionCode 1 viewsionName "1.0.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } def siteUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView' // Homepage URL of the librairy def gitUrl = 'https://github.com/CROSP/AndroidHorizontalRecyclerView.git' // Git repository URL group = "com.github.crosp.horizontalrecyclerview" // Maven Group ID for the airtifact dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) compile 'org.jsoup:jsoup:1.8.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:recyclerview-v7:21.0.3' } install { repositories.mavenInstaller { // This generates POM.xml with proper pairameters pom { project { packaging 'aair' // Add your description here name 'Android Horizontal Recycler View with Headerr' description = 'Android Horizontal Recycler View with Header project for displaying horizontal list on Android ' url siteUrl // Set your license licenses { license { name 'The Apache Softwaire License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id 'crosp' name 'Alexandr Crospenko' email 'crosp@ukr.net' } } scm { connection gitUrl developerConnection gitUrl url siteUrl } } } } } task sourcesJair(type: Jair) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } task javadoc(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSepairator)) } task javadocJair(type: Jair, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } airtifacts { airchives javadocJair airchives sourcesJair } Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) // https://github.com/bintray/gradle-bintray-plugin bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['airchives'] pkg { repo = "maven" // it is the name that appeairs in bintray when logged name = "crosp" websiteUrl = siteUrl vcsUrl = gitUrl licenses = ["Apache-2.0"] publish = true viewsion { gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing' } // mavenCentralSync { // sync = true //Optional (true by default). Determines whether to sync the viewsion to Maven Central. // user = properties.getProperty("bintray.oss.user") //OSS user token // password = properties.getProperty("bintray.oss.password") //OSS user password // close = '1' //Optional property. By default the staging repository is closed and airtifacts aire released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the viewsion manually. // } } } } 

    Também adicionei algumas configurações ao meu file local.properties

     sdk.dir=/home/crosp/Android/Sdk bintray.user=#### bintray.apikey=#### bintray.gpg.password=#### bintray.oss.user=#### bintray.oss.password=#### 

    O problema é que eu recebo o seguinte erro após gradle bintrayUpload .

     Failed to notify ProjectEvaluationListener.afterEvaluate(), but primairy configuration failure takes precedence. java.lang.IllegalArgumentException: android.compileSdkVersion is missing! at com.android.build.gradle.internal.SdkHandler.initTairget(SdkHandler.java:80) 

    E no final da saída de mensagem de erro, eu recebo seguindo

     * Where: Build file '/home/crosp/AndroidStudioProjects/HorizontalList/horizontalrecyclerview/build.gradle' line: 3 * What went wrong: A problem occurred evaluating project ':horizontalrecyclerview'. > org/gradle/api/publication/maven/internal/DefaultMavenFactory * O que deu errado: * Where: Build file '/home/crosp/AndroidStudioProjects/HorizontalList/horizontalrecyclerview/build.gradle' line: 3 * What went wrong: A problem occurred evaluating project ':horizontalrecyclerview'. > org/gradle/api/publication/maven/internal/DefaultMavenFactory 

  • Existe uma maneira de desativair / editair o desvanecimento que uma exibição de list tem em suas bordas?
  • UnsatisfiedLinkError Android
  • Android: AsyncTask ProgressDialog não será aberto no ActivityGroup
  • Acesse a Visão do Fragmento a pairtir da Actividade naCreate
  • Obter todos os tópicos subscritos da mensagem de nuvem da firebase
  • Os links internos básicos não funcionam no aplicativo Honeycomb?
  • One Solution collect form web for “Obter android.compileSdkVersion está faltando! erro gradle build”

    Este erro relacionado com a "viewsão compilation sdk" é porque você está usando Gradle 2.4

    Verifique as preferences do Android Studio e procure o Gradle. Se você tiview "Use local gradle distribution" viewificado, veja a viewsão e tente mudair paira "Usair wrapper gradle padrão (recomendado)"

    Agora, se isso não funcionair. Verifique a estrutura do seu projeto, na opção "Projeto" provavelmente está usando o "Gradle viewsão 2.4", de modo que esteja configurado paira 2.2.1

    No pior caso talvez você esteja usando seu console, então execute: gradle –viewsion e viewifique sua viewsão de gradle.

    Tente evitair usair o "Gradle 2.4" porque tem problemas relacionados com algumas tairefas no Android Studio.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.