Skip to content

Commit

Permalink
Fix project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Keisuke Kobayashi committed Jun 19, 2015
1 parent 8304d27 commit 516dc30
Show file tree
Hide file tree
Showing 41 changed files with 41 additions and 36 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ build/

# Local configuration file (sdk path, etc)
local.properties
/local.properties

# Eclipse project files
.classpath
Expand All @@ -25,5 +26,7 @@ local.properties
gradle/
gradlew
gradlew.bat
.gradle/
.idea/

.DS_Store
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:1.0.0"
classpath "com.android.tools.build:gradle:1.2.3"
}
}

Expand All @@ -14,8 +14,8 @@ repositories {
}

android {
compileSdkVersion 20
buildToolsVersion "20"
compileSdkVersion 22
buildToolsVersion "22.0.1"

sourceSets {
main { // Use old Ant-build directory layout
Expand Down
File renamed without changes.
15 changes: 0 additions & 15 deletions library/project.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
android:targetSdkVersion="21" />

</manifest>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 Keisuke Kobayashi
* Copyright 2013-2015 Keisuke Kobayashi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:1.2.3"
}
}

apply plugin: "com.android.application"

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
minSdkVersion 8
targetSdkVersion 22
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile project(':library')
compile 'com.android.support:support-v4:22.1.1'
compile 'com.android.support:appcompat-v7:22.1.1'
}
File renamed without changes.
15 changes: 0 additions & 15 deletions sample/project.properties

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':library'
include ':library', ':sample'

0 comments on commit 516dc30

Please sign in to comment.