This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.greinerco.udacity.reportcard; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
/** | |
* This single class is part of a Udacity Android Basics Nanodegree (EU) homework | |
* This POJO should store and provide the data of a students report card | |
* Created by Jens Greiner on 20.05.17. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android.pets.data; | |
import android.provider.BaseColumns; | |
/** | |
* Contract class for pets database | |
* Created by Jens Greiner on 04.07.17. | |
*/ | |
public final class PetContract { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Adds auto incremented versionCode number | |
* Found on stackoverflow | |
* see https://stackoverflow.com/a/25166200/1469260 | |
*/ | |
def Properties versionProps = new Properties() | |
def versionPropsFile = file('version.properties') | |
if (versionPropsFile.exists()) | |
versionProps.load(new FileInputStream(versionPropsFile)) | |
def code = (versionProps['VERSION_CODE'] ?: "0").toInteger() + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maven { url 'https://maven.google.com' } |