Commit 2186fed2 authored by deregges's avatar deregges

Updated dependencies

parent 9811b299
......@@ -32,19 +32,22 @@ dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
// design
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.appcompat:appcompat:1.0.2'
// Splitties
implementation "com.louiscad.splitties:splitties-appctx:$splitties_version"
implementation "com.louiscad.splitties:splitties-dimensions:$splitties_version"
//implementation "com.louiscad.splitties:splitties-dimensions:$splitties_version"
implementation "com.louiscad.splitties:splitties-preferences:$splitties_version"
implementation "com.louiscad.splitties:splitties-systemservices:$splitties_version"
implementation "com.louiscad.splitties:splitties-toast:$splitties_version"
implementation "com.louiscad.splitties:splitties-resources:$splitties_version"
implementation "com.louiscad.splitties:splitties-views-material:$splitties_version"
implementation "com.louiscad.splitties:splitties-views-design:$splitties_version"
implementation "com.xw.repo:bubbleseekbar:3.19"
}
configurations {
all*.exclude group: 'androidx.core', module: 'core-ktx'
}
\ No newline at end of file
package io.ender.pathchaser
import android.app.Activity
import android.app.ActivityManager
import android.app.Dialog
import android.os.Bundle
import android.view.View
import android.view.Window
import android.view.WindowManager
import io.ender.pathchaser.menu.Highscores
import io.ender.pathchaser.menu.MainMenu
import io.ender.pathchaser.util.Preferences
import io.ender.pathchaser.util.startActivity
import kotlinx.android.synthetic.main.end_game_dialog.*
import splitties.resources.appStr
import splitties.views.material.string
import splitties.views.material.text
import splitties.views.design.string
import splitties.views.design.text
class EndGameDialog private constructor(a: GameActivity, private val score: Int) : Dialog(a) {
override fun onCreate(savedInstanceState: Bundle?) {
......
package io.ender.pathchaser.util
import splitties.experimental.ExperimentalSplittiesApi
import splitties.preferences.DefaultPreferences
@UseExperimental(ExperimentalSplittiesApi::class)
object Preferences : DefaultPreferences() {
private var difficulty0 by intPref(Constants.Difficulty.NORMAL.ordinal)
var difficulty: Constants.Difficulty
......
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.11'
ext.kotlin_version = '1.3.21'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0-alpha10'
classpath 'com.android.tools.build:gradle:3.5.0-alpha06'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
......@@ -17,7 +17,7 @@ buildscript {
allprojects {
ext {
splitties_version = "3.0.0-alpha02"
splitties_version = "2.1.1"
}
repositories {
......
#Thu Dec 13 09:44:58 CET 2018
#Mon Mar 11 15:24:46 CET 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-milestone-1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment