Skip to content

Commit

Permalink
migrated projects to a more AS-standard structure
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Jan 9, 2016
1 parent ab11de9 commit 6d52f55
Show file tree
Hide file tree
Showing 37 changed files with 43 additions and 240 deletions.
9 changes: 0 additions & 9 deletions Internet/Download/.classpath

This file was deleted.

33 changes: 0 additions & 33 deletions Internet/Download/.project

This file was deleted.

10 changes: 10 additions & 0 deletions Internet/Download/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 19
buildToolsVersion "21.1.2"

defaultConfig {
targetSdkVersion 17
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 10 additions & 33 deletions Internet/Download/build.gradle
Original file line number Diff line number Diff line change
@@ -1,42 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.2.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'com.android.application'

android {
compileSdkVersion 19
buildToolsVersion "21.1.2"

defaultConfig {
targetSdkVersion 17
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}

// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')

// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
allprojects {
repositories {
jcenter()
}
}
85 changes: 0 additions & 85 deletions Internet/Download/build.xml

This file was deleted.

1 change: 1 addition & 0 deletions Internet/Download/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':app'
9 changes: 0 additions & 9 deletions Internet/HURL/.classpath

This file was deleted.

33 changes: 0 additions & 33 deletions Internet/HURL/.project

This file was deleted.

11 changes: 11 additions & 0 deletions Internet/HURL/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apply plugin: 'com.android.application'

dependencies {
compile 'de.greenrobot:eventbus:2.2.1'
compile 'com.google.code.gson:gson:2.3'
}

android {
compileSdkVersion 19
buildToolsVersion "21.1.2"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 10 additions & 38 deletions Internet/HURL/build.gradle
Original file line number Diff line number Diff line change
@@ -1,47 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
apply plugin: 'com.android.application'

repositories {
mavenCentral()
}
classpath 'com.android.tools.build:gradle:1.2.3'

dependencies {
compile 'de.greenrobot:eventbus:2.2.1'
compile 'com.google.code.gson:gson:2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

android {
compileSdkVersion 19
buildToolsVersion "21.1.2"

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}

// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')

// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
allprojects {
repositories {
jcenter()
}
}
Binary file removed Internet/HURL/libs/eventbus-2.2.1.jar
Binary file not shown.
Binary file removed Internet/HURL/libs/gson-2.2.4.jar
Binary file not shown.
1 change: 1 addition & 0 deletions Internet/HURL/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':app'

0 comments on commit 6d52f55

Please sign in to comment.