You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
/* |
|
* This file was generated by the Gradle 'init' task. |
|
* |
|
* This generated file contains a sample Java application project to get you started. |
|
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle |
|
* User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html |
|
*/ |
|
|
|
plugins { |
|
// Apply the application plugin to add support for building a CLI application in Java. |
|
id 'application' |
|
id("net.ltgt.errorprone") version "3.1.0" |
|
} |
|
|
|
repositories { |
|
// Use Maven Central for resolving dependencies. |
|
mavenCentral() |
|
} |
|
|
|
dependencies { |
|
errorprone("com.google.errorprone:error_prone_core:2.24.1") |
|
implementation 'com.google.apis:google-api-services-youtube:v3-rev222-1.25.0' |
|
|
|
// Use JUnit test framework. |
|
testImplementation 'junit:junit:4.13.2' |
|
|
|
// This dependency is used by the application. |
|
implementation("net.dv8tion:JDA:5.0.0-alpha.19") |
|
implementation 'se.michaelthelin.spotify:spotify-web-api-java:8.3.4' |
|
implementation("com.google.guava:guava:33.0.0-jre") |
|
} |
|
|
|
tasks.withType(JavaCompile).configureEach { |
|
options.errorprone.disableWarningsInGeneratedCode.set(false) |
|
} |
|
|
|
application { |
|
// Define the main class for the application. |
|
mainClass = 'Main' |
|
}
|
|
|