buildscript { repositories { mavenLocal() mavenCentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } jcenter() google() } dependencies { classpath 'org.wisepersist:gwt-gradle-plugin:1.0.6' } } allprojects { version = '1.0' ext { appName = "gdx-boardgame" gdxVersion = '1.9.8' } repositories { mavenLocal() mavenCentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/releases/" } } } project(":test") { apply plugin: "java" dependencies { implementation project(":core") implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop" } } project(":core") { apply plugin: "java" apply plugin: "maven" dependencies { implementation "com.badlogicgames.gdx:gdx:$gdxVersion" } task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource } task javadocJar(type: Jar, dependsOn: javadoc) { classifier = 'javadoc' from javadoc.destinationDir } artifacts { archives sourcesJar archives javadocJar } } project(":assets") { configurations { texturePacker } } task ctags(type: Exec) { executable "ctags" args "-R", "--language-force=java", "--exclude=*~", "-f.tags", "core/src/" }