max max - 2 months ago 18
Android Question

Error:No such property: GROUP for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer

Hi i want to use RecyclerViewLib in my project and for that i download it and import as module to my empty"hello world" android project i am using android studio v1.0.1 using sdk maneger v24

and this is my app/build.gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 17
buildToolsVersion "19.1.0"

defaultConfig {
applicationId "com.example.mk.dragdrop4"
minSdkVersion 14
targetSdkVersion 17
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}


and this is my library/build.gradle

apply plugin: 'com.android.library'

android {
compileSdkVersion 17
buildToolsVersion "19.1.0"

defaultConfig {

minSdkVersion 7
targetSdkVersion 17
versionCode 1
versionName "1.0"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile 'com.android.support:support-v4:20.0.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
}

apply from: 'https://raw.github.com/twotoasters/gradle-mvn-push/master/gradle-mvn-push.gradle'


but when i import that i'm getting this error message

Error:No such property: GROUP for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer


can anyone help me about this problem?

Answer

Remove this line from the build.gradle on the specified project

apply from: 'https://raw.github.com/twotoasters/gradle-mvn-push/master/gradle-mvn-push.gradle'
Comments