Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v3.9.0
with:
java-version: 17
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots clean package
distribution: 'adopt'
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
- name: Run build with Gradle Wrapper
run: gradle build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ target
/target/*
/target/
/.idea/
/build/
/.gradle/
41 changes: 41 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
plugins {
id 'org.springframework.boot' version '3.0.2'
}

apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'

repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf:3.0.1'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework:spring-jdbc:5.3.23'
implementation 'org.springframework:spring-beans:6.0.3'
implementation 'org.reflections:reflections:0.10.2'
implementation 'com.github.twitch4j:twitch4j:1.13.0'
implementation 'ch.qos.logback:logback-classic:1.4.5'
implementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
runtimeOnly 'org.springframework.boot:spring-boot-devtools:3.0.1'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client:3.0.9'
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.0.1'
}

group = 'de.orciument'
version = '0.0.1-SNAPSHOT'
description = 'JavaTwitchBot'
java.sourceCompatibility = JavaVersion.VERSION_17

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
244 changes: 244 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading