Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions android/alarmclock/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/* see https://developer.android.com/studio/build/index.html */

apply plugin: 'com.android.application'

android {
compileSdkVersion 23

defaultConfig {
applicationId 'com.angrydoughnuts.android.alarmclock'
versionCode 16
versionName "2.3.1"

targetSdkVersion 23
buildToolsVersion "24.0.0"
}

buildTypes {
debug {}
release {}
}

productFlavors {
complete {}
}

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 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')
}
}
1 change: 1 addition & 0 deletions android/alarmclock/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs="-Werror" "-Xlint:all"
37 changes: 37 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* see https://developer.android.com/studio/build/index.html */

buildscript {
repositories {
// google()
maven {
url 'https://maven.google.com'
}
// jcenter()
maven {
url 'https://jcenter.bintray.com'
}
mavenCentral()
}

dependencies {
// we actually have 3.2.1/3.2.2
// classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:3.0.0'
// classpath 'com.android.tools.build:gradle:3.0.1'
// classpath 'com.android.tools.build:gradle:3.2.1'
}
}

allprojects {
repositories {
// google()
maven {
url 'https://maven.google.com'
}
// jcenter()
maven {
url 'https://jcenter.bintray.com'
}
mavenCentral()
}
}
21 changes: 21 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* This settings file was auto generated by the Gradle buildInit task
* by 'mdione' at '11/27/17 7:07 PM' with Gradle 3.2.1
*
* The settings file is used to specify which projects to include in your build.
* In a single project build this file can be empty or even removed.
*
* Detailed information about configuring a multi-project build in Gradle can be found
* in the user guide at https://docs.gradle.org/3.2.1/userguide/multi_project_builds.html
*/

/*
// To declare projects as part of a multi-project build use the 'include' method
include 'shared'
include 'api'
include 'services:webservice'
*/

rootProject.name = 'android'

include 'alarmclock'