Skip to content

Commit

Permalink
Upgraded Gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 committed Jun 1, 2020
1 parent d77415d commit e4661db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}")
classpath("de.richsource.gradle.plugins:gwt-gradle-plugin:0.6")
classpath("com.android.tools.build:gradle:3.6.3")
classpath("com.android.tools.build:gradle:4.0.0")
classpath("com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1")

// This is for wrapping the .jar file into a standalone executable
Expand Down
2 changes: 2 additions & 0 deletions core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec
lines.clear()

for (tech in civInfo.gameInfo.ruleSet.technologies.values) {
if(!techNameToButton.containsKey(tech.name))
throw Exception("tech ${tech.name} not found!")
val techButton = techNameToButton[tech.name]!!
for (prerequisite in tech.prerequisites) {
val prerequisiteButton = techNameToButton[prerequisite]!!
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Apr 25 23:34:18 IDT 2020
#Mon Jun 01 02:27:12 IDT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

0 comments on commit e4661db

Please sign in to comment.