This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
Error with gradle plugin 2.4 #56
Labels
Comments
This looks more like an problem with your project. Do you have a stacktrace or more information? |
Same issue for me, with Gradle 2.5 and a newer version of the Gradle plugin. |
Same issue. Anyone succeed in resolving this issue with any version of gradle > 2.4 ? |
Same issue. Android Studio 1.3.1, Gradle 2.4, Gradle Plugin 1.3.0 here is my build config: apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.3.2'
}
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0' // needed for annotations like @LayoutRes etc
compile project(':base');
} and here is my stack trace, when I try running gradlew assembleDebug --stacktrace
|
Opened a pull request for this in #66, please take a look at it when you get the chance. |
That's cool! Waiting for this to be released |
This issue can be closed now @ignaciogs |
https://github.com/novoda/bintray-release/releases/tag/0.3.4 has been released on Friday. Thanks for your patience. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I use the new gradle plugin 2.4 on Android Studio:
(build.gradle file)
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0-beta1'
}
(gradle-wrapper.properties file)
distributionUrl=https://services.gradle.org/distributions/gradle-2.4-all.zip
I get this error:
Error:Cannot access first() element from an empty List
The text was updated successfully, but these errors were encountered: