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

Commit

Permalink
Updated dependencies + tweaking bugfix for alertdialog + fixed some b…
Browse files Browse the repository at this point in the history
…uild errors
  • Loading branch information
AlexanderEggers committed Oct 21, 2018
1 parent 5e77041 commit bea9942
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 26 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

Expand Down
10 changes: 5 additions & 5 deletions examples/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
applicationId "org.hitogo.examples"
minSdkVersion 16
targetSdkVersion 27
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
Expand All @@ -26,6 +26,6 @@ dependencies {
//testImplementation 'org.hitogo:hitogo-testing:1.0.0-beta19.1'

//Support lib dependencies
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public void onClick(@NonNull Alert alert, Object parameter) {
.asDismissible(closeButton)
.addText("Test")
.setTitle("Test Title")
.asLayoutChild(R.id.fake_id)
.asLayoutChild(-1)
.addButton(button)
.dismissByLayoutClick(true)
.addVisibilityListener(new VisibilityListener<ViewAlert>() {
Expand Down
4 changes: 0 additions & 4 deletions examples/src/main/res/values/id.xml

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
12 changes: 6 additions & 6 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ext {
siteUrl = 'https://github.com/Mordag/hitogo'
gitUrl = 'https://github.com/Mordag/hitogo.git'

libraryVersion = '1.0.1'
libraryVersion = '1.0.2'

developerId = 'mordag'
developerName = 'Alexander Eggers'
Expand All @@ -28,12 +28,12 @@ ext {
}

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 16
versionName "1.0.0"
versionName "1.0.2"
consumerProguardFiles 'proguard-rules.pro'
}

Expand All @@ -53,8 +53,8 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

//Support lib dependencies
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
@SuppressWarnings({"unchecked"})
public class DialogAlertImpl extends AlertImpl<DialogAlertParams> implements DialogAlert {

private static final int MAX_BUILDER_BUTTON_AMOUNT = 3;
private static final int PRIMARY_BUTTON = 0;
private static final int SECONDARY_BUTTON = 1;
private static final int NEUTRAL_BUTTON = 2;
Expand Down
10 changes: 5 additions & 5 deletions testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ext {
siteUrl = 'https://github.com/Mordag/hitogo'
gitUrl = 'https://github.com/Mordag/hitogo.git'

libraryVersion = '1.0.1'
libraryVersion = '1.0.2'

developerId = 'mordag'
developerName = 'Alexander Eggers'
Expand All @@ -28,12 +28,12 @@ ext {
}

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 16
versionName "1.0.0"
versionName "1.0.2"
consumerProguardFiles 'proguard-rules.pro'
}

Expand All @@ -54,7 +54,7 @@ dependencies {
//implementation 'org.hitogo:hitogo-core:1.0.1'
implementation project(path: ':hitogo-core')

implementation "com.android.support:support-annotations:27.0.2"
implementation "com.android.support:support-annotations:28.0.0"
implementation "junit:junit:4.12"
implementation "org.mockito:mockito-all:1.10.19"
}
Expand Down

0 comments on commit bea9942

Please sign in to comment.