Skip to content

Commit

Permalink
gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
sephiroth74 committed Nov 10, 2013
1 parent ba5abcf commit a5f19b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:0.6.3'
classpath 'com.android.tools.build:gradle:0.6.3+'
}
}

apply plugin: 'maven'

allprojects {
apply plugin: 'maven'

group = 'it.sephiroth.android'
version = '1.0.1'
version = '1.0.0'

repositories {
mavenCentral()
Expand Down
4 changes: 2 additions & 2 deletions build/ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="it.sephiroth.android"
module="imageviewtouch"
revision="1.0.1"
revision="1.0.0"
status="integration"
publication="20131109195130"
publication="20131110115911"
/>
<configurations>
<conf name="archives" visibility="public" description="Configuration for archive artifacts."/>
Expand Down
3 changes: 1 addition & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

apply plugin: 'android'
apply plugin: 'maven'

dependencies {
compile project(':library')
}

android {
compileSdkVersion 19
buildToolsVersion "18.0.1"
buildToolsVersion "18.1.1"

defaultConfig {
versionCode 1
Expand Down
7 changes: 5 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

apply plugin: 'android-library'
apply plugin: 'maven-publish'
apply plugin: 'maven'

android {
compileSdkVersion 19
buildToolsVersion "18.0.1"
buildToolsVersion "18.1.1"

defaultConfig {
versionCode 1
Expand All @@ -17,7 +16,11 @@ android {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
}
Expand Down

0 comments on commit a5f19b8

Please sign in to comment.