Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Gradle Kotlin DSL 构建 Java 项目实战指南
为什么选择 Gradle Kotlin DSL传统的 Gradle 构建脚本使用 Groovy 编写(build.gradle),虽然灵活,但缺少 IDE 的类型检查和代码补全支持。Gradle Kotlin DSL(build.gradle.kts)用 Kotlin 语言替代 Groovy,带来以下优势: 类型安全:编译期就能发现配置错误 IDE 支持:IntelliJ IDEA 对 Kotlin DSL 提供完整的代码补全和跳转 更好的重构能力:重命名、提取变量等操作一应俱全 如果你是 Java 开发者,不需要会 Kotlin,掌握几个基础语法就能上手。 创建项目方式一:命令行初始化12mkdir my-project && cd my-projectgradle init 选择 Application → Java → Kotlin 作为 DSL 语言,会自动生成基础项目结构。 方式二:Spring Initializr访问 https://start.spring.io ,选择 Gradle - Kotlin 作为构建工具,生成项目即可。 项目结构1...
pic-article
一只可爱的小猪
article
Java是一门面向对象的编程语言。 12345Class Main { pubulic static void mian(String[] args) { System.out.println("Hello hexo!"); }} alter.js1alert('Hello World!');