Skip to content

Instantly share code, notes, and snippets.

@DmytroMitin
Created April 2, 2025 00:11
Show Gist options
  • Save DmytroMitin/2f3a9225f8a473ecd56cba43b183756f to your computer and use it in GitHub Desktop.
Save DmytroMitin/2f3a9225f8a473ecd56cba43b183756f to your computer and use it in GitHub Desktop.
plugins {
id 'scala'
id 'application'
}
group = 'org.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
}
application {
mainClass = 'com.example.SMain'
}
scala {
scalaVersion = '2.12.15'
zincVersion = '1.10.8'
}
#Wed Apr 02 02:38:30 EEST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
dmytro@...:~/projects/gradledemo2$ ./gradlew clean
[Incubating] Problems report is available at: file:///home/dmytro/projects/gradledemo2/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 464ms
1 actionable task: 1 executed
dmytro@...:~/projects/gradledemo2$ ./gradlew run
> Task :run
hi
[Incubating] Problems report is available at: file:///home/dmytro/projects/gradledemo2/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 3s
2 actionable tasks: 2 executed
rootProject.name = 'gradledemo2'
package com.example
object SMain {
def main(args: Array[String]): Unit = {
println("hi")
}
}
@DmytroMitin
Copy link
Author

Screenshot from 2025-04-02 03-12-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment