Skip to content

Instantly share code, notes, and snippets.

@virtualmarc
Created September 18, 2013 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtualmarc/394ce52d2fe68e3e19d7 to your computer and use it in GitHub Desktop.
Save virtualmarc/394ce52d2fe68e3e19d7 to your computer and use it in GitHub Desktop.
Gradle build file: error on upload
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
apply plugin: 'android'
apply plugin: 'maven'
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenCentral()
}
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
defaultConfig {
minSdkVersion 17
targetSdkVersion 17
}
}
dependencies {
compile 'com.android.support:support-v4:13.0.0'
compile 'commons-codec:commons-codec:1.8'
compile 'org.bouncycastle:bcprov-jdk16:1.46'
compile fileTree(dir: 'libs', include: '*.jar')
}
group 'my.groupid'
version '1.0-SNAPSHOT'
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file:///home/gitlab_ci_runner/maven/")
}
}
}
task install(dependsOn: uploadArchives)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment