Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/1.5.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Amab committed Feb 25, 2018
2 parents 0bb53d8 + b1b84cd commit 69f2c34
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 22 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -6,8 +6,8 @@ android:
- tools
- tools
- platform-tools
- build-tools-26.0.2
- android-26
- build-tools-27.0.3
- android-27
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
Expand All @@ -16,3 +16,4 @@ script:
- "./gradlew build connectedCheck"
before_install:
- chmod +x gradlew
- yes | sdkmanager "platforms;android-27"
24 changes: 11 additions & 13 deletions SWADroid/build.gradle
Expand Up @@ -9,8 +9,8 @@ ext {
}

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 27
buildToolsVersion "27.0.3"

dexOptions {
maxProcessCount=2
Expand All @@ -27,7 +27,7 @@ android {
versionName gitVersionName

minSdkVersion 14
targetSdkVersion 26
targetSdkVersion 27

android.applicationVariants.all { variant ->
def appName
Expand All @@ -38,10 +38,8 @@ android {
appName = parent.name
}

variant.outputs.each { output ->
def newApkName
newApkName = "${appName}-${output.baseName}-${variant.versionName}.apk"
output.outputFile = new File(output.outputFile.parent, newApkName)
variant.outputs.all { output ->
outputFileName = "${appName}-${output.baseName}-${variant.versionName}.apk"
}
}

Expand Down Expand Up @@ -77,13 +75,13 @@ def getBuildConfigField(String property){
}

dependencies {
compile 'com.android.support:support-v4:26.0.0'
compile 'com.android.support:appcompat-v7:26.0.0'
compile 'com.google.android.gms:play-services-analytics:11.0.4'
compile 'com.android.support:support-v4:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.google.android.gms:play-services-analytics:11.8.0'
compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.2'
compile 'commons-io:commons-io:2.5'
compile 'commons-io:commons-io:2.6'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.journeyapps:zxing-android-embedded:3.5.0@aar'
compile 'com.google.zxing:core:3.3.0'
compile 'com.google.code.gson:gson:2.8.1'
compile 'com.google.zxing:core:3.3.1'
compile 'com.google.code.gson:gson:2.8.2'
}
Expand Up @@ -198,16 +198,16 @@ public View getChildView(int groupPosition, int childPosition,
if (multiple == 0 && role != Constants.TEACHER_TYPE_CODE) { //single inscriptions:
holder.checkBox.setVisibility(View.GONE);
holder.radioButton.setVisibility(View.VISIBLE);
holder.radioButton.setText(groupName);

} else { //multiple inscriptions :

holder.checkBox.setVisibility(View.VISIBLE);
holder.radioButton.setVisibility(View.GONE);
holder.checkBox.setText(groupName);
holder.checkBox.setChecked(member != 0);
}

holder.checkBox.setText(groupName);
holder.checkBox.setChecked(member != 0);

holder.nStudentText.setText(context.getString(R.string.numStudent) + ": " + String.valueOf(students));

if (maxStudents != -1) {
Expand Down
7 changes: 7 additions & 0 deletions SWADroid/src/main/res/raw-es/changes.html
Expand Up @@ -14,6 +14,13 @@
</style>
</head>

<body bgcolor="white">
<h4>1.5.4 (2018-02-25)</h4>
<ul>
<lh class="fix">[CORRECCIONES]</lh>
<li type="disc"><strong>Grupos&#58;</strong> Corregida visualización del nombre de los grupos de selección única</li>
</ul>

<body bgcolor="white">
<h4>1.5.3 (2017-10-25)</h4>
<ul>
Expand Down
7 changes: 7 additions & 0 deletions SWADroid/src/main/res/raw/changes.html
Expand Up @@ -14,6 +14,13 @@
</style>
</head>

<body bgcolor="white">
<h4>1.5.4 (2018-02-25)</h4>
<ul>
<lh class="fix">[FIXES]</lh>
<li type="disc"><strong>Groups&#58;</strong> Fixed display of the name of single choice groups</li>
</ul>

<body bgcolor="white">
<h4>1.5.3 (2017-10-25)</h4>
<ul>
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Expand Up @@ -2,17 +2,18 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'org.ajoberstar:grgit:1.8.0'
}
}

allprojects {
repositories {
jcenter()
google()
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases' }
maven { url 'https://maven.google.com' }
}
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Mar 03 17:05:52 CET 2017
#Wed Oct 25 20:37:21 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 comments on commit 69f2c34

Please sign in to comment.