Gradle-Bearbeitung
This commit is contained in:
parent
770e6916b5
commit
03dcf9e8a3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
Happy_Bird/.idea/jarRepositories.xml
generated
5
Happy_Bird/.idea/jarRepositories.xml
generated
@ -16,5 +16,10 @@
|
||||
<option name="name" value="MavenRepo" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
@ -9,6 +9,7 @@ version '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
ext {
|
||||
@ -36,6 +37,7 @@ dependencies {
|
||||
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:2.1.2'
|
||||
}
|
||||
|
||||
test {
|
||||
|
Binary file not shown.
Binary file not shown.
@ -13,10 +13,10 @@ public class MariaDB
|
||||
|
||||
public MariaDB()
|
||||
{
|
||||
/*
|
||||
|
||||
username="root";
|
||||
pw="HappyBird1";
|
||||
url="jdbc:mariadb://localhost:3306/happybird";
|
||||
url="jdbc:mariadb://localhost/happybird";
|
||||
driver="org.mariadb.jdbc.Driver";
|
||||
try {
|
||||
Class.forName(driver);
|
||||
@ -28,8 +28,8 @@ public class MariaDB
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
try
|
||||
{
|
||||
con = DriverManager.getConnection("jdbc:mariadb://localhost:3306/happybird?user=root&password=HappyBird1");
|
||||
@ -43,6 +43,6 @@ public class MariaDB
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user