Browse Source

update gradle wrapper to version 6.0.1

tags/0.5.1
Jannik Seiler 1 month ago
parent
commit
2d497d1a96
Signed by: Seil0 <seil0@mosad.xyz> GPG Key ID: E8459F3723C52C24
4 changed files with 7 additions and 8 deletions
  1. +4
    -1
      app/src/main/java/org/mosad/seil0/projectlaogai/MainActivity.kt
  2. +0
    -4
      app/src/main/java/org/mosad/seil0/projectlaogai/controller/TCoRAPIController.kt
  3. +1
    -1
      gradle/wrapper/gradle-wrapper.properties
  4. +2
    -2
      gradlew

+ 4
- 1
app/src/main/java/org/mosad/seil0/projectlaogai/MainActivity.kt View File

@@ -50,7 +50,10 @@ import org.mosad.seil0.projectlaogai.controller.PreferencesController.Companion.
import org.mosad.seil0.projectlaogai.fragments.*
import kotlin.system.measureTimeMillis

// TODO save the current fragment to show it when the app is restarted
/**
* TODO save the current fragment to show it when the app is restarted
* TODO since anko is dead, we should use coroutines
*/
class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelectedListener {

private var activeFragment: Fragment = HomeFragment() // the currently active fragment, home at the start


+ 0
- 4
app/src/main/java/org/mosad/seil0/projectlaogai/controller/TCoRAPIController.kt View File

@@ -37,10 +37,6 @@ import kotlin.Exception

class TCoRAPIController {

/**
* TODO since anko seems dead, we should use coroutines here
*/

companion object {
private const val className = "TCoRAPIController"
private const val tcorBaseURL = "https://tcor.mosad.xyz"


+ 1
- 1
gradle/wrapper/gradle-wrapper.properties View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

+ 2
- 2
gradlew View File

@@ -125,8 +125,8 @@ if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`


Loading…
Cancel
Save