zJiaJun / scala-core

Scala ecosystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scala ecosystem

环境

  • java 1.8
  • scala 2.12.12
  • gradle 6.5
  • scalikejdbc 3.5.0

使用

1. git clone git@github.com:zJiaJun/scala-core.git
2. cd scala-core
3. ./gradlew build

checkStyle

  • 使用scalafmtspotless统一编码风格

  • setup with gradle plugin
    buildscript {
        dependencies {
            classpath "com.diffplug.spotless:spotless-plugin-gradle:$versions.spotlessPlugin"
        }
    }
    
    apply plugin: "com.diffplug.gradle.spotless"
    spotless {
        scala {
            target '**/*.scala'
            scalafmt("$versions.scalafmt").configFile('checkstyle/.scalafmt.conf')
        }
    }
    
    spotlessPlugin.version = 3.28.1
    scalafmt.version = 1.5.1
    具体请看build.gradle和dependencies.gradle
    

core

  • 一些学习和研究scala过程中的例子

scalike

About

Scala ecosystem


Languages

Language:Scala 100.0%