Skip to content

Commit 157cf04

Browse files
committed
ADK 0.3.0
1 parent 9c5505c commit 157cf04

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

agents/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ java {
2424
}
2525
}
2626

27-
tasks.register<JavaExec>("devUi") {
27+
// Task to execute the startDevUI() Kotlin function via a small entrypoint
28+
tasks.register<JavaExec>("startDevUI") {
2829
group = "application"
29-
description = "Start the ADK Dev UI server"
30-
mainClass.set("com.google.adk.web.AdkWebServer")
30+
description = "Starts the ADK Dev UI by invoking startDevUI()"
31+
mainClass.set("adk.DevUiMainKt")
3132
classpath = sourceSets["main"].runtimeClasspath
32-
args = listOf("--adk.agents.source-dir=src/main/java")
3333
}
3434

agents/src/main/java/Agent.java

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package adk
2+
3+
import adk.ClimateTraceAgent.Companion.initAgent
4+
import com.google.adk.web.AdkWebServer
5+
6+
fun main() {
7+
AdkWebServer.start(initAgent())
8+
}

agents/src/main/kotlin/adk/adk_agent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import com.google.adk.models.Gemini
88
import com.google.adk.runner.InMemoryRunner
99
import com.google.adk.tools.LongRunningFunctionTool
1010
import com.google.adk.tools.mcp.McpToolset
11+
import com.google.adk.web.AdkWebServer
1112
import com.google.genai.Client
1213
import com.google.genai.types.Content
1314
import com.google.genai.types.Part
@@ -84,4 +85,3 @@ fun main() {
8485
}
8586
})
8687
}
87-

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ molecule = "2.1.0"
2626
mcp = "0.6.0"
2727
shadowPlugin = "9.1.0"
2828
jib = "3.4.5"
29-
googleAdk = "0.2.0"
29+
googleAdk = "0.3.0"
3030
koogAgents = "0.4.1"
3131

3232

0 commit comments

Comments
 (0)