• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Compile Error

P

Printed Love

Guest
I completely new to Gamemaker Development and can't seem to resolve this compile error..


FAILURE: Build failed with an exception.

* Where:
Build file 'T:\printed.tistory.com.company.game\build.gradle' line: 44

* What went wrong:
A problem occurred evaluating project ':printed.tistory.com.company.game'.
> Could not find method implementation() for arguments [androidx.legacy:legacy-support-v4:1.0.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s


C:\Windows\system32\cmd.exe DONE (1)
C:\Windows\system32\subst.exe /d T:


C:\Windows\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.


This is my build.gradle:

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
maven {
url "http://repo.spring.io/plugins-release/"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.1'
}
}
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
maven {
url "http://repo.spring.io/plugins-release/"
}
jcenter()
}
}

I've googled some and ended up on the Community page about "
Android: Fix Missing Gradle 2.2.0 Dependencies
", but I'm still not able to fix this. Help would be very much appriciated!
 
Top