Piped-Backend/build.gradle
FireMasterK dfca88952a
Use Hibernate as a database (#32)
* Basic hibernate structure.

* Commit stash.

* Improve a lot of things.

* Implement Feed, PubSub, query optimizations.

* Update video views on channel visits.

* Allow mass importing subscriptions.

* Allow configuring database in config.properties.

* Major multi-threading and pubsub improvements.

* PubSub query improvements and fix for postgres.

* Revert docker-compose change.

* Disable showing sql statements.
2021-07-17 04:10:46 +05:30

57 lines
2.1 KiB
Groovy

plugins {
id "com.github.johnrengelman.shadow" version "7.0.0"
id "java"
id "eclipse"
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'commons-io:commons-io:2.10.0'
implementation 'it.unimi.dsi:fastutil-core:8.5.4'
implementation 'commons-codec:commons-codec:1.15'
implementation 'org.bouncycastle:bcprov-jdk15on:1.69'
implementation 'com.github.TiA4f8R.NewPipeExtractor:NewPipeExtractor:df53170023ff5b97ad1d7ccc74bfce74c3998bcc'
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.12.4'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
implementation 'org.json:json:20210307'
implementation 'com.github.ben-manes.caffeine:caffeine:3.0.3'
implementation 'com.rometools:rome:1.16.0'
implementation 'com.github.ipfs:java-ipfs-http-client:v1.3.3'
implementation 'org.jsoup:jsoup:1.13.1'
implementation 'io.activej:activej-common:4.3'
implementation 'io.activej:activej-http:4.3'
implementation 'io.activej:activej-boot:4.3'
implementation 'io.activej:activej-specializer:4.3'
implementation 'io.activej:activej-launchers-http:4.3'
implementation 'org.postgresql:postgresql:42.2.19'
implementation 'org.hibernate:hibernate-core:5.4.30.Final'
implementation 'org.hibernate:hibernate-hikaricp:5.4.30.Final'
implementation 'org.springframework.security:spring-security-crypto:5.5.1'
implementation 'commons-logging:commons-logging:1.2'
}
shadowJar {
// minimize()
}
jar {
manifest {
attributes(
'Main-Class': 'me.kavin.piped.Main'
)
}
}
group = 'me.kavin.piped'
version = '1.0'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11